Re: Php, MySql dynamic creation of dropdown list
| From: | (Stas Trefilov) | Date: | Sat, 06 Jan 2001 09:28:00 +0000 |
| Subject: | Re: Php, MySql dynamic creation of dropdown list | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-5741@lists.php.net to get a copy of this message | ||
Hello, "Dave Carrera"!
You wrote:
> Hi All
> I would like to create a dropdown selection list getting
> the item selected
> from my MySql db and then including the item selected
> into to SQL statement
> so that users only get shown the relevant rows according
> to the item they
> have selected.
>
1. (first page) Select applicable months from your table
2. Form a <SELECT> tag with months
3. (second page) Select and show records with wanted month
--
Piloteers do it on the road