04.01.2018, 17:03
PHP код:
[19:56:48 01/04/18] [ERROR] CMySQLQuery::Execute - (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 'SELECT MAX(`id`) FROM `server_item`+1, 'test', 1, 0, 3, 5, 7, 1, 1, 5, 5, 7)' at line 1 (Query: "INSERT IGNORE INTO `server_item` (`id`, `name`, `type`, `required_level`, `attack`, `maxhp`, `maxmp`, `hp_regeneration`, `mp_regeneration`, `jump`, `speed`, `slots`)VALUES (SELECT MAX(`id`) FROM `server_item`+1, 'test', 1, 0, 3, 5, 7, 1, 1, 5, 5, 7)")