You are here: Re: querying a date collumn in mysql « All PHP « IT news, forums, messages
Re: querying a date collumn in mysql

Posted by Oli Filth on 11/16/05 01:16

mcyi2mr3@lycos.co.uk said the following on 15/11/2005 22:30:
> Hi all!
>
> Can anyone tell me how i can query my mysql table date format collumn
> so that i can retrieve all records where the date has passed
> $currentdate?
>
> I hope its something simple like
> $datequery ="SELECT date FROM tblrecords WHERE date < '$currentdate' ";
>

Did you not think to try this and see?


--
Oli

 

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

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