php-general | 2005051
Date: 05/08/05
- Next message: bala chandar: "Re: [PHP] Question about acessing databases and formatting output"
- Previous message: trlists <email protected>: "Re: [PHP] Fastest templating mechanism"
- In reply to: Ryan A: "[PHP] Between Query (0T)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
On 5/8/05, Ryan A <ryan <email protected>> 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
- Next message: bala chandar: "Re: [PHP] Question about acessing databases and formatting output"
- Previous message: trlists <email protected>: "Re: [PHP] Fastest templating mechanism"
- In reply to: Ryan A: "[PHP] Between Query (0T)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

