Saturday, 7 September 2013

What is the error in the following mysql statement?

What is the error in the following mysql statement?

"INSERT INTO messages (idR,idS,nameS,message,read) VALUES
($id,'$_SESSION[id]','$myname','$message',1)";
It says you have mysql error syntax near'read) VALUES
($id,'$_SESSION[id]','$myname','$message',1)'

No comments:

Post a Comment