multiple select statements
| From: | Geoffrey Makstutis | Date: | Tue, 05 Mar 2002 16:12:15 +0000 |
| Subject: | multiple select statements | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-17472@lists.php.net to get a copy of this message | ||
Hi,
I've got an HTML form which allows users to select various criteria to search for in my
database (MySQL).
The problem is that I can't seem to figure out how create the SELECT statement, given the fact
that they could choose any or none of the criteria.
Does anyone know of a way to dynamically create a SELECT statement that might have different numbers
of criteria?
Thanks