You are here: Re: Problem with NOW() with PHP and MySQL « All PHP « IT news, forums, messages
Re: Problem with NOW() with PHP and MySQL

Posted by peter on 04/02/07 00:40

> First of al thank you for your answers.
>
> I just changed the table column to another name (now temporaily called
> TEMP). Now it does update!!!
>
> It seems like "last_change" is some kind of protected name/variable.....
> or I dont know. BTW I use PEAR DB class.
>
> I dont know what exactly is causing this, but I am resolving for now by
> renaming the column so it will update.
>

http://dev.mysql.com/doc/refman/5.0/en/reserved-words.html

The table is not a reserved word. However you should if at all possible
enclose table names in ticks (`) this would in the event of you using a
reserved word allow the sql to work.

 

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

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