RE: [PHP] One Form, Two Actions
| From: | Adam Charnock | Date: | Wed, 22 Nov 2000 19:40:56 +0000 |
| Subject: | RE: [PHP] One Form, Two Actions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26692@lists.php.net to get a copy of this message | ||
What I would suggest using 2 submit buttons and giving each a different name
and having one action. You could then determine which button was pressed and
use the correct code.
Hope this helps
Adam
-----Original Message-----
From: Juergen Hall [mailto:jyrgen@gmx.de]
Sent: 22 November 2000 19:34
To: php-general@lists.php.net
Subject: [PHP] One Form, Two Actions
hello again,
another hot question:
how can i assign two different actions to one
single form ? (i.e. controlled by means of two graphic
submit buttons) Both actions have to deliver
quite the same values to corresponding php-pages.
I would like to avoid any JavaScript technique here...
sincerely
jyrgen
--
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