mysql_query("CREATE TABLE scMain(
id INT NOT NULL AUTO_INCREMENT,
PRIMARY KEY(id),
scuser VARCHAR(20),
scmsg VARCHAR(90)")
or die(mysql_error());
I get the error "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 '' at line 5". Which makes me assume it's the the line with scmsg VARCHAR(90)"). I've tried multiple variants of this code w/ no success in creating a table.
This post has been edited by BlackVenom: 17 April 2010 - 09:32 AM

New Topic/Question
Reply




MultiQuote





|