SENYA HARLOWM
Ученик
(123),
на голосовании
1 год назад
пишу свой мод для сампа, написал систему регистрации, зашел, нет окна авторизации
вот лог: [15:55:16 05/12/23] [ERROR] CMySQLQuery::Execute[IsPlayerReg] - (error #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 'FROM `users` WHERE `name`=`Kopeysk_God`' at line 1 (Query: "SELECT FROM `users` WHERE `name`=`Kopeysk_God`") [16:09:28 05/12/23] [ERROR] CMySQLQuery::Execute[IsPlayerReg] - (error #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 'WHERE `name`=`Kopeysk_God`' at line 1 (Query: "SELECT 1 `users` WHERE `name`=`Kopeysk_God`")
Дополнен 1 год назад
mysql_format(connect, string, sizeof string, "SELECT 1 `users` WHERE `name`=`%s`", Player[playerid][P_NAME]);
mysql_format(connect, string, sizeof string, "SELECT 1 FROM `users` WHERE `name`=`%s`", Player[playerid][P_NAME]);
SENYA HARLOWM
Ученик
(123)
вот
[ERROR] CMySQLQuery::Execute[IsPlayerReg] - (error #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 'FROM `users` WHERE `name`=`Kopeysk_God`' at line 1 (Query: "SELECT FROM `users` WHERE `name`=`Kopeysk_God`")
[16:09:28 05/12/23] [ERROR] CMySQLQuery::Execute[IsPlayerReg] - (error #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 'WHERE `name`=`Kopeysk_God`' at line 1 (Query: "SELECT 1 `users` WHERE `name`=`Kopeysk_God`")
[16:21:27 05/12/23] [ERROR] CMySQLQuery::Execute[IsPlayerReg] - (error #1054) Unknown column 'Kopeysk_God' in 'where clause' (Query: "SELECT 1 FROM `users` WHERE `name`=`Kopeysk_God`")
вот лог: [15:55:16 05/12/23] [ERROR] CMySQLQuery::Execute[IsPlayerReg] - (error #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 'FROM `users` WHERE `name`=`Kopeysk_God`' at line 1 (Query: "SELECT FROM `users` WHERE `name`=`Kopeysk_God`")
[16:09:28 05/12/23] [ERROR] CMySQLQuery::Execute[IsPlayerReg] - (error #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 'WHERE `name`=`Kopeysk_God`' at line 1 (Query: "SELECT 1 `users` WHERE `name`=`Kopeysk_God`")