You are here: Re: Still getting #1064s!!!?!!?!! « PHP SQL « IT news, forums, messages
Re: Still getting #1064s!!!?!!?!!

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация