Mysql error

i have this query
$sql=“insert into images (imageblob,imagename) values ('”.$image.“‘,’”.$name.“')”;

when i run it gave me this 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 ‘’ at line
what is the problem?

Have you tried

echo $sql;

to see if the values are what you expect?



This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.