All I want to do is create a table called "turns" with columns.. "username", and "turns". I already have a database set up via CPanel... but somehow, I managed to mess it up. Some help please?
HTML:
<?php
$con = mysql_connect("localhost","game","password");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("game", $con);
$sql = "CREATE TABLE turns
(
username varchar(16),
turns varchar(4),
)";
mysql_query($sql,$con);
mysql_close($con);
?>