INSERT INTO mo_received
(appid, msg, to, from, operator, keyword, smsid, udh, response, created)
VALUES
('13846', 'HELLO', '123456789', '987654321',
'SKTELECOM', 'Cheese', 'MESSAGE', 'UDHSTUFF', '', NOW());
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 'to, from, operator, keyword, smsid, udh, response, created) VALUES ('13846', 'HE' at line 1
That's the error I get.
Strange thing is that if I remove the "to" and "from" fields and values the insert works ok. But I don't see anything wrong with those fields.
Any ideas?
to,from, operator, keyword, smsid, udh, response, created)