Re: Between Query (0T)

From: Date: Sun, 08 May 2005 15:29:24 +0000
Subject: Re: Between Query (0T)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-214704@lists.php.net to get a copy of this message
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

« previous php.general (#214704) next »