Reply to Re: mysql doing the date thing on its own

Your name:

Reply:


Posted by ED on 05/17/06 16:52

"monomaniac21" <mcyi2mr3@googlemail.com> wrote in message
news:1147869686.245426.298350@i40g2000cwc.googlegroups.com...
> Hi all can mysql be queried so it finds and then adds the current date
> to a field without requiring a php function to get the date for it?
>

By 'add' I presume you mean just set the current date, in which case:

"UPDATE my_table set my_datefield = CURDATE()";

cheers,
ED

[Back to original 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

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