Hello, I am trying to create a table in MySQL with the following data:
$sql = "CREATE TABLE $uID
(
Col0 int(10) NOT NULL auto_increment,
Col1 varchar(255) NOT NULL,
Col2 varchar(255) NOT NULL,
Col3 varchar(255) NOT NULL,
PRIMARY KEY(Col0)
)";
However, I keep getting a syntax error. Can someone pls. help me
[--EDIT--]
The error that is spitted out is:
Error creating table: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Col2 varchar(255) NOT NULL, Col3 varchar(255) NOT NULL, PRIMARY KEY(Col0) )' at line 5