Re: MySQL Select
| From: | kill-9 | Date: | Wed, 22 Nov 2000 13:58:41 +0000 |
| Subject: | Re: MySQL Select | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-4049@lists.php.net to get a copy of this message | ||
select age from db where age between x and y;
make sure you get the right format on the dates YYYY-MM-DD
kill-9
www.kill-9.dk
for all your php and mysql needs
----- Original Message -----
From: "Ben Cairns" <BenC@intasept.com>
To: "PHP Windows" <php-windows@lists.php.net>
Sent: Wednesday, November 22, 2000 12:42 PM
Subject: [PHP-WIN] MySQL Select
> I have looked in the manual for this, and I don't seem to be able to find
an
> answer to this question
>
> I have a database called clients.
>
> One of the fields in the DB is age.
>
> I need to be able to select from the age DB if the age is less that x but
> greater than y
>
> So i want a select statement do this..
>
>
> -- Ben Cairns, Head Of Technical Operations, Intasept.com
> E-Mail: BenC@intasept.com | Web:
> http://www.intasept.com
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>