i got a wired error below:
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‘¸â:m™ëînYWñ×KDnšC=¨ŠnÂRoÕö¨ºk„Ý·ÇçÓQ' at line 1problem uploading image
$image = file_get_contents($_FILES['fileupload']['tmp_name']);
$image_full_name = $_FILES['fileupload']['name'];
$image_size = getimagesize($_FILES['fileupload']['tmp_name']);
if(!$insert = mysql_query("INSERT INTO image VALUES(NULL, '$user_id_db', '$image', '$image_full_name', '$image_short_name', '$image_des')"))
{
echo mysql_error();
echo "problem uploading image";
}
else
{
echo "works";
}
not sure what this error means and in my sql database i have
image_id
user_id
image (blob)
image_full_name
image_short_name
image_des
image_views
image_favs