You are here: Re: [PHP] Between Query (0T) « PHP « IT news, forums, messages
Re: [PHP] Between Query (0T)

Posted by Bala Chandar on 10/19/64 11:15

Hi,

On 5/8/05, Ryan A <ryan@coinpass.com> wrote:
> Hi,
> Sorry I know this is OT but I'm hoping someone will still help...it should
> be quite simple :-)
> I have a field in the database called "age" which is a DATE field.

are u storing in terms of Date of Birth??? if so the below lines u cannot do

>
> I also have a webform where the user can select between which ages he wants
> the records shown...
> eg: if he types 23,25 then I should get all results where
> age >=23 and age <=25

Instead store the age in a column with int data type. or else

you must provide date range using some calendar script

>
> Thanks,
> Ryan
>


--
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

 

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

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