php-general | 2001092
Date: 09/29/01
- Next message: Martin Kampherbeek: "[PHP] Get current date and time"
- Previous message: Philip Hallstrom: "[PHP] Re: lock web page when editing"
- In reply to: Henrik Hansen: "[PHP] Re: Search "all" in mysql"
- Next in thread: Henrik Hansen: "Re: [PHP] Re: Search "all" in mysql"
- Reply: Henrik Hansen: "Re: [PHP] Re: Search "all" in mysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Martin Kampherbeek: "[PHP] Get current date and time"
- Previous message: Philip Hallstrom: "[PHP] Re: lock web page when editing"
- In reply to: Henrik Hansen: "[PHP] Re: Search "all" in mysql"
- Next in thread: Henrik Hansen: "Re: [PHP] Re: Search "all" in mysql"
- Reply: Henrik Hansen: "Re: [PHP] Re: Search "all" in mysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

