can any one spot the syntax issues here i can not see it
PHP Code:
// Insert Details to log
$sth2 $db->prepare ("INSERT INTO logs (id,to,from,message) VALUES (:id,:to,:from,:message)");

error i am getting
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 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,message) VALUES ('1','4477777777','4477777777','test')'