Re: [PHP4BETA] Using two where stements with mysql
| From: | Joey | Date: | Sun, 12 Dec 1999 19:52:56 +0000 |
| Subject: | Re: [PHP4BETA] Using two where stements with mysql | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-7835@lists.php.net to get a copy of this message | ||
$query = "SELECT * FROM $sqlmaindb WHERE depth < 1 AND name='bob'";
--Joey Smith
Please forgive the long sig:
*** Notice To Bulk Emailers: Attention! Pursuant to US Code, Title 47,
Chapter 5, Subchapter II, 227, any & all unsolicited commercial e-mail
sent to this address is subject to a download and archival fee in the
amount of the $1500 US and copies will be forwarded to domain
administrators. Emailing denotes acceptance of said terms!
On Sun, 12 Dec 1999, Matt Greene wrote:
> Is it possble in any way to use two where statements when querying a mysql
> database?
> Like the following which i know doesnt work;
>
> $query = "SELECT * FROM $sqlmaindb WHERE depth < 1 & name='bob'";
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>
>