Re: [PHP] Re: and statement

2004-11-28 Thread Robert Cummings
On Sun, 2004-11-28 at 21:56, Brad Ciszewski wrote: > err i mean ... an 'or' statement sry Two comments: 1. This is the "PHP" General list. See the PHP part... that means it's NOT the MYSQL General list. 2. For such a trivial question you could have spent a whole 5 seconds executing the que

Re: [PHP] Re: and statement

2004-11-28 Thread Larry E . Ullman
err i mean ... an 'or' statement sry is there an 'and' statement for mysql, when you are doing multiple "where"s? MySQL allows SQL statements that support both AND and OR. With OR, you can often use IN instead. SELECT columns FROM tablename WHERE (condition1) AND (condition2)... All of this is

[PHP] Re: and statement

2004-11-28 Thread Brad Ciszewski
err i mean ... an 'or' statement sry www.BradTechnologies.com 99.9% Uptime 24/7 FREE Support Plans starting at $3.50 per month www.BradTechnologies.com "Brad Ciszewski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > is there an 'and' statement for mysql, when you are doing multiple