Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001092

Re: [PHP] Re: Search "all" in mysql From: Mark Charette (charette <email protected>)
Date: 09/29/01

Actually, if you want to return all, just drop the "where" clause
completely.

----- Original Message -----
From: "Henrik Hansen" <hh <email protected>>

> d <email protected> (Daniel alsén) wrote:
>
> > Hi,
> >
> > i am writing a simple searchengine for a couple of mysql tables.
> >
> > i have no problem handling searches when there is something entered in
the
> > searchfield - or selected in a dropdown menu. But, when nothing is
selected
> > i want to display all content of the table. Is there a value in mysql
that
> > equals to all? Like * would do in some systems.
>
> % is the one
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>