Reply to Re: $sql = "update products set smallpicname = $myfile .....????
Posted by ces.fci on 02/02/06 19:26
Be sure to escape any values that are in your queryt, e.g:
$myfile = mysql_real_escape_string($myfile);
$sql = "update products set smallpicname ='$myfile' where id='$idvar'";