Posted by J.O. Aho on 12/10/06 08:49
Mwahahahahaaahaa wrote:
> It worked! I don't see any difference thought?! What was the error?
> Thanks so much!
>
>>> $theQuery = "UPDATE '{$globalYear}' SET '{$dayAsWord}' =
>>> '{$updatedText}' WHERE 'months' LIKE '{$globalMonth}'";
>> $theQuery = "UPDATE `{$globalYear}` SET `{$dayAsWord}` =
>> '{$updatedText}' WHERE `months` LIKE '{$globalMonth}'";
>>
>> Do you see the difference?
You use `` around column names and '' around values.
//Aho
Navigation:
[Reply to this message]
|