|
Posted by Jim S. on 02/02/06 15:54
i tried, :( did not work.
any other suggestions?
"Tyrone Slothrop" <ts@paranoids.com> wrote in message
news:lc24u1li65dc3hn8lq3jkc26tmktqoovb5@4ax.com...
> On Thu, 02 Feb 2006 12:52:05 GMT, "Jim S." <jim@yeah.com> wrote:
>
>>hi, i have this
>>$sql = "update products set smallpicname = $myfile where id=37";
>>mysql_query($sql);
>>i want the value of $myfile to be in the $sql , but it is not doing it, so
>>what am i doing wrong?
>>how can i put variables in the $sql statement so i can execute it with
>>mysql_query ???
>>since i want also to put .....id= $idvar please help
>>
>
> Try placing some quotes around the file name:
> \"$myfile\"
[Back to original message]
|