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
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
2 matches
Mail list logo