PHP gevorderde |
|
mysql_query("CREATE TABLE ga_war_reg(
id int(11) NOT NULL auto_increment,
mapname varchar(255) NOT NULL default '',
maxplayer int(2) NULL default '0',
date int(15) NULL '0',
clanid int(10) NULL '0',
clanname varchar(255) NOT NULL default '',
)ENGINE=MyISAM;") or die(mysql_error());
mysql_query("CREATE TABLE ga_war_reg_result(
id int(11) NOT NULL auto_increment,
user varchar(255) NOT NULL default '',
option varchar(5) NOT NULL default '',
)ENGINE=MyISAM;") or die(mysql_error());
id int(11) NOT NULL auto_increment, mapname varchar(255) NOT NULL default '', maxplayer int(2) NULL default '0', date int(15) NULL '0', clanid int(10) NULL '0', clanname varchar(255) NOT NULL default '', id int(11) NOT NULL auto_increment, user varchar(255) NOT NULL default '', option varchar(5) NOT NULL default '',
Ziet er iemand het probleem
Foutmelding:
Citaat: 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 ''0', clanid int(10) NULL '0', clanname varchar(255) NOT NULL default '', )ENGINE' at line 5
Danl met voorbaat
|