Roberto_Leone
Новичок
CMySQLHandler::Query(INSERT INTO `users` (`Name`, `Password`, `House`, `Bizz`, `pAvtomas`, `Char`, `Respect`, `Local`, `Model`, `pDostup`, `PayDayHad`, `Tutorial`, `pFerma`, `pFermazarabotok`, `pFermajob`) VALUES ('Pasha_Lys', 'pashalys56842', '255', '255', '255', '66', '1', ) - An error has occured. (Error ID: 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 '' at line 1)
Как исправить???
Вот stock регистрации:
Как исправить???
Вот stock регистрации:
PHP:
format(query, 256, "INSERT INTO `users` (`Name`, `Password`, `House`, `Bizz`, `pAvtomas`, `Char`, `Respect`, `Local`, `Model`, `pDostup`, `PayDayHad`, `Tutorial`, `pFerma`, `pFermazarabotok`, `pFermajob`) VALUES ('%s', '%s', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d')"
, escname, escpass, 255, 255, 255, 66, 1, 255, 66, 8942143323124, 1, 1, 255, 255, 255);
