Posted by J.O. Aho on 12/10/06 06:19
Mwahahahahaaahaa wrote:
> Hello all... I'm always getting these 1064 errors... For example I have
> a mySQL dbase that i can connect to fine.. read values etc fine.. but I
> want to update a field with different text and it won't work.. I've
> tried numerous variations, but here is one of them.
>
> $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?
//Aho
Navigation:
[Reply to this message]
|