Vim Tips Wiki
Register
Advertisement

mysql_query("INSERT INTO messages(`name`,`email`,`msg`,`date`,`image`) VALUES('$name','$email','$msg','$date','$image')")or die(mysql_error());

when i'm executing this code i'm getting an error: 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 'l try','2013/08/09','ÿØÿà\0�JFIF\0��\0\0�\0�\0\0ÿþ\0�*\0ÿâ��ICC_PROFILE\0��\0\0�' at line 1

can u plz help

This wiki, and the "PHP online help" page, concerns the Vim text editor. I think your problem is not related to Vim, so I'm afraid that assistance is not possible here. I will delete this page in due course since information about Vim should be on the tip page. JohnBeckett (talk) 08:52, August 10, 2013 (UTC)



Advertisement