[eluser]MMCCQQ[/eluser]
hi
i dont know what happed!...
my table db
id
to
from
subject
body
Code:
$this->db->insert('message', $_POST);
Error Number: 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 'to, from, subject, bod) VALUES ('dfd', '1', 'fdf', 'gdfgdfg')' at line 1
INSERT INTO message (to, from, subject, bod) VALUES ('dfd', '1', 'fdf', 'gdfgdfg')