Hi, On 5/8/05, Ryan A <ryan@xxxxxxxxxxxx> 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php