help me please Posted June 5, 2009 Share Posted June 5, 2009 hi can someone please tel me how i wud make this into a table. willing to pay mysql_query("CREATE TABLE servers (name varchar(255),port varchar(255),desc text,pass varchar(255), ip varchar(255), ip2 varchar(255), top integer, type varchar(255), id int(11) auto_increment,PRIMARY KEY (id))"); Link to comment https://forums.phpfreaks.com/topic/161053-script/ Share on other sites More sharing options...
help me please Posted June 5, 2009 Author Share Posted June 5, 2009 mysql_query("CREATE TABLE servers (name varchar(255),port varchar(255),desc text,pass varchar(255), ip varchar(255), ip2 varchar(255), top integer, type varchar(255), id int(11) auto_increment,PRIMARY KEY (id))"); TOP INTEGER HOW THE HECK DO I MAKE THIS? Link to comment https://forums.phpfreaks.com/topic/161053-script/#findComment-849908 Share on other sites More sharing options...
ldougherty Posted June 5, 2009 Share Posted June 5, 2009 Your original query fails because DESC is a unique qualifier as in descending, it can not be used as a field name. Try changing it to mysql_query("CREATE TABLE servers (name varchar(255),port varchar(255),description text,pass varchar(255), ip varchar(255), ip2 varchar(255), top integer, type varchar(255), id int(11) auto_increment,PRIMARY KEY (id))"); Link to comment https://forums.phpfreaks.com/topic/161053-script/#findComment-849924 Share on other sites More sharing options...
help me please Posted June 5, 2009 Author Share Posted June 5, 2009 thanks ill try Link to comment https://forums.phpfreaks.com/topic/161053-script/#findComment-849933 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.