Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Padekit su sql uzklausa :/

Parašė skid· 2012 Sau. 16 16:01:17
#1

#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 'TABLE amx_amxadmins ADD timeleft varchar(100) NOT NULL default '', ALTER TABLE a' at line 2

:/

cia uzklausa:

ALTER TABLE amx_amxadmins ADD regtime varchar(100) NOT NULL default '',
ALTER TABLE amx_amxadmins ADD timeleft varchar(100) NOT NULL default '',
ALTER TABLE amx_amxadmins ADD nupirko varchar(100) NOT NULL default '',
ALTER TABLE amx_amxadmins ADD status varchar( 100 ) NOT NULL default '',
ALTER TABLE amx_amxadmins ADD nr varchar(100) NOT NULL default ''


CREATE TABLE `blacklist` (
`id` int(12) NOT NULL auto_increment,
`ip` varchar(100) default NULL,
`comment` varchar(100) default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;