Re: Between Query (0T)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/8/2005 4:31:18 PM, Duncan Hill (dhill+php@xxxxxxxxxxxx) wrote:
> On Sunday 08 May 2005 14:20, Ryan A 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.
>
> http://dev.mysql.com/doc/mysql/en/comparison-operators.html
>
> 'BETWEEN'
>
Thanks,
But I already know how to use BETWEEN, just dont know how to format it when
I am getting 2 numbers like this:

20
66
and query a DATE field

Thanks,
Ryan




-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 5/6/2005

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux