Re: Help: Database Search
| From: | Stuart Felenstein | Date: | Wed, 10 Nov 2004 15:37:14 +0000 |
| Subject: | Re: Help: Database Search | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201683@lists.php.net to get a copy of this message | ||
--- Jason Wong <php-general@gremlins.biz> wrote:
> Why not build your sql query according to whether or
> not whatever you want is
> selected or not. That way debugging is easier as
> you won't be looking at
> queries that contain redundant "... AND 0 ...".
>
Jason, How would I do that ? Care to share a short
exmaple ?
Thank you
Stuart