Hi Friends,
I am trying to use the following script.
I downloaded it from this forum.
I upload all the files also cofiguring the config.php file. but when i insert tables i get following ERROR!!
=============================
SQL query:
--
-- Table structure for table `landofwap_toplist`
--
CREATE TABLE `landofwap_toplist` (
`id` int( 4 ) NOT NULL AUTO_INCREMENT ,
`name` varchar( 30 ) NOT NULL default '',
`pass` varchar( 30 ) NOT NULL default '',
`mail` varchar( 100 ) NOT NULL default '',
`link` varchar( 150 ) NOT NULL default '',
`logo` varchar( 150 ) default NULL ,
`cat` varchar( 20 ) NOT NULL default '',
`date` datetime NOT NULL default '0000-00-00 00:00:00',
`lastout` datetime NOT NULL default '0000-00-00 00:00:00',
`lastin` datetime NOT NULL default '0000-00-00 00:00:00',
`incoming` int( 10 ) NOT NULL default '0',
`out` int( 10 ) NOT NULL default '0',
`total` int( 10 ) NOT NULL default '0',
`description` varchar( 150 ) NOT NULL default '',
PRIMARY KEY ( `id` ) ,
UNIQUE KEY `name` ( `name` )
) TYPE = MYISAM AUTO_INCREMENT =22;# MySQL returned an empty result set (i.e. zero rows).
--
-- Clock for counter reset `landofwap_clock`
--
CREATE TABLE `landofwap_clock` (
`time` datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY ( `time` ) ,
UNIQUE KEY `name` ( `time` )
) TYPE = MYISAM AUTO_INCREMENT =22;# MySQL returned an empty result set (i.e. zero rows).
MySQL said:
#1064 - 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 ';# MySQL returned an empty result set (i.e. zero rows).
--
-- Clock for co' at line 22
==========================================
i am using free hosting from http://micklemuckle.0lx.net also this is my first time i am working with php and my sql database so please help me please..................
I am trying to use the following script.
I downloaded it from this forum.
I upload all the files also cofiguring the config.php file. but when i insert tables i get following ERROR!!
=============================
SQL query:
--
-- Table structure for table `landofwap_toplist`
--
CREATE TABLE `landofwap_toplist` (
`id` int( 4 ) NOT NULL AUTO_INCREMENT ,
`name` varchar( 30 ) NOT NULL default '',
`pass` varchar( 30 ) NOT NULL default '',
`mail` varchar( 100 ) NOT NULL default '',
`link` varchar( 150 ) NOT NULL default '',
`logo` varchar( 150 ) default NULL ,
`cat` varchar( 20 ) NOT NULL default '',
`date` datetime NOT NULL default '0000-00-00 00:00:00',
`lastout` datetime NOT NULL default '0000-00-00 00:00:00',
`lastin` datetime NOT NULL default '0000-00-00 00:00:00',
`incoming` int( 10 ) NOT NULL default '0',
`out` int( 10 ) NOT NULL default '0',
`total` int( 10 ) NOT NULL default '0',
`description` varchar( 150 ) NOT NULL default '',
PRIMARY KEY ( `id` ) ,
UNIQUE KEY `name` ( `name` )
) TYPE = MYISAM AUTO_INCREMENT =22;# MySQL returned an empty result set (i.e. zero rows).
--
-- Clock for counter reset `landofwap_clock`
--
CREATE TABLE `landofwap_clock` (
`time` datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY ( `time` ) ,
UNIQUE KEY `name` ( `time` )
) TYPE = MYISAM AUTO_INCREMENT =22;# MySQL returned an empty result set (i.e. zero rows).
MySQL said:
#1064 - 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 ';# MySQL returned an empty result set (i.e. zero rows).
--
-- Clock for co' at line 22
==========================================
i am using free hosting from http://micklemuckle.0lx.net also this is my first time i am working with php and my sql database so please help me please..................
Comment