i am facing problem in inserting image inside db, error message is:
Invalid query: 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 'VALUES('','$_59.jpg','����' at line 1
Query written is:
$insert=mysql_query("INSERT INTO store VALUES(id,name,image)VALUES('','$image_name','$image')") or die("Invalid query: " . mysql_error());
I am Using xamppv3.2.1, Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3, Server version: 5.6.21 - MySQL Community Server (GPL).