Re: force no results
| From: | Jason Wong | Date: | Mon, 24 Jun 2002 15:23:06 +0000 |
| Subject: | Re: force no results | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-20045@lists.php.net to get a copy of this message | ||
On Monday 24 June 2002 22:47, Martin Adler wrote:
> Hi,
>
> is it possible to force mysql in a SELECT clause depend on a
> condition to give no results?
>
> for example:
> I do a SELECT and get 3 rows as result,
> but one row contains a value, which make the
> other rows worthless. and I won't get this results
Without knowing what your query looks like, I would have thought that you
would construct the query to return the results that you would actually need!
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Giving money and power to governments is like giving whiskey and
car keys to teenage boys.
-- P.J. O'Rourke
*/