Can some body tell me why this wont create a new table:
$table=uniqid();
$createtab = "create table '$table'(
QuestionID varchar(20) NOT NULL,
Question char(255),
DBAnswer char(255),
UserAnswer char(255),
primary key(QuestionID) )";
$result= mysql_query($createtab, $connection);
but this will:
$createtab = "create table test(
QuestionID varchar(20) NOT NULL,
Question char(255),
DBAnswer char(255),
UserAnswer char(255),
primary key(QuestionID) )";
$result= mysql_query($createtab, $connection);
I am confused