Re: WHERE statement used multiple times.
| From: | JeRRy | Date: | Mon, 20 Oct 2003 23:20:52 +0000 |
| Subject: | Re: WHERE statement used multiple times. | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-31211@lists.php.net to get a copy of this message | ||
Chris wrote:
----
You can put together WHERE statements with an AND or
an OR. For
instance, "SELECT id FROM users WHERE id='2' OR
id='3'"
You know, if you had a few suspicions about this sort
of thing you
could
always give it a spin in a Query. Worst case scenario
is you will get
an error.
- Chris
----
Thanks Chris, the help is mostly appreciated. I have
got the code to skip emails that are flagged with a y
vlaue in emailerror field. :)
Thanks again.
Jerry
http://personals.yahoo.com.au - Yahoo! Personals
New people, new possibilities. FREE for a limited time.