Re: Form Problem w/multiple forms same page.
| From: | Charles Killian | Date: | Tue, 11 Jul 2000 14:58:52 +0000 |
| Subject: | Re: Form Problem w/multiple forms same page. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5926@lists.php.net to get a copy of this message | ||
You can combine the simple and complex searches into one form with two
submit buttons that have different names/values. When the form is submitted
check which submit button was clicked, PHP puts it in the HTTP_POST_VARS
array, and take action accordingly.
Charles
----- Original Message -----
From: "Kenneth Bogucki" <k.bogucki@worldnet.att.net>
To: <php-general@lists.php.net>
Sent: Monday, July 10, 2000 8:39 PM
Subject: [PHP] Form Problem w/multiple forms same page.
>
> I have a simple and a complex search form on the same page, however the
> user has the option of selecting any number of different databases to
> perform these searches...in addition, I can only use one drop down menu
> for database selection.
>
> Any ideas on how to use one drop down menu for the database selection
> where the selection is shared by either the simple search form or the
> complex search form.
>
>
> ken
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>