MisterTwister (12.03.2010/13:41)
вот вроде
не роботает, при заливке вот чё выдает
Ошибка
SQL-запрос:
mysql_query(
" ALTER TABLE `users` ADD (
`gorod_life` smallint(6) NOT NULL,
`gorod_eda_time` bigint(20) NOT NULL,
`gorod_money` bigint(20) NOT NULL,
`gorod_ohota_time` bigint(20) NOT NULL,
`gorod_brak` varchar(32) NOT NULL,
`gorod_tamag` varchar(32) NOT NULL,
`gorod_tamag_life` smallint(6) NOT NULL,
`gorod_tamag_time` bigint(20) NOT NULL,
`gorod_voodoo` int(11) NOT NULL,
`gorod_voodoo_name` varchar(32) NOT NULL,
`gorod_kopi` bigint(20) NOT NULL,
`gorod_kriminal` int(11) NOT NULL,
`gorod_kriminal_time` bigint(20) NOT NULL,
`gorod_security` varchar(32) NOT NULL,
`gorod_security_uron` int(11) NOT NULL,
`gorod_para` varchar(50) NOT NULL,
`gorod_tur` varchar(50) NOT NULL,
`gorod_firm` varchar(50) NOT NULL,
`gorod_band` varchar(50) NOT NULL,
`gorod_band_time` bigint(20) NOT NULL ) ; "
);
Ответ MySQL:
#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_query (" ALTER TABLE `users` ADD (
`gorod_life` smallint(6) NOT NULL,' at line 1