0

My Table create is giving me problems. i probably missed something small but i cant find it.

$dbase = $_COOKIE['ID'] . "char";

// Create table
mysql_select_db($dbase, $con);

$sql = "CREATE TABLE games
(
gameID int NOT NULL AUTO_INCREMENT,
PRIMARY KEY(gameID),
gameName varchar(25), 
intro TEXT, 
bground TEXT, 
cast ENUM( '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
created TIMESTAMP DEFAULT NOW()
)";
2
Contributors
1
Reply
2
Views
5 Years
Discussion Span
Last Post by phorce
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.