Using two where stements with mysql
| From: | Matt Greene | Date: | Sun, 12 Dec 1999 19:41:55 +0000 |
| Subject: | Using two where stements with mysql | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7834@lists.php.net to get a copy of this message | ||
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'";