Re: Between Query (0T)
| From: | Ryan A | Date: | Sun, 08 May 2005 16:21:06 +0000 |
| Subject: | Re: Between Query (0T) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-214709@lists.php.net to get a copy of this message | ||
On 5/8/2005 4:31:18 PM, Duncan Hill (dhill+php@cricalix.net) 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