Здравствуйте. У меня очень странную ошибку выдает MySQL.
При попытке выполнить запрос из php скрипта возвращает следующее:
billing > [ERROR]:[ID] > 608
billing > [ERROR]:[TYPE] > db
billing > [ERROR]:[CLASS] > error
billing > [ERROR]:[MESSAGE] > SQL query execution failed
billing > [SQL_ERROR]:[SQL] > INSERT INTO `mls_lottery_tickets` SET `id_lottery` = '2001', `id_draw` = '19', `id_user` = '1', `id_order` = '12', `ticket` = '140', `cost_ticket` = '0.75';
INSERT INTO `mls_lottery_tickets` SET `id_lottery` = '2001', `id_draw` = '19', `id_user` = '1', `id_order` = '12', `ticket` = '141', `cost_ticket` = '0.75';
INSERT INTO `mls_lottery_tickets` SET `id_lottery` = '2001', `id_draw` = '19', `id_user` = '1', `id_order` = '12', `ticket` = '145', `cost_ticket` = '0.75';
INSERT INTO `mls_lottery_tickets` SET `id_lottery` = '2001', `id_draw` = '19', `id_user` = '1', `id_order` = '12', `ticket` = '155', `cost_ticket` = '0.75'
billing > [SQL_ERROR]:[MESSAGE] > 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 'INSERT INTO `mls_lottery_tickets` SET `id_lottery` = '2001', `id_draw` = '19', `' at line 2
Но если я текст запроса скопирую и выполню его в phpMyAdmin он выполняется.
У кого есть какие мысли по этому поводу?