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()
)";

Does it give an error?

use:

or die(mysql_error());
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.