I can't figure this one out for the life of me. Can anybody find the fix?
$conn = db_connect();
$query = ("INSERT INTO products (SKU,subcatid,catid,title,price,description,featured,instock,filesize,filetype) VALUES ('$SKU','$subcatid','$catid','$title','$price','$description','$featured','$instock','$pic_size','$pic_type'");
$result=@MYSQL_QUERY($query);
if($result)
print "we have a result<br>";/////this is what prints!
else
print"we don't have a result<br>";