RE: [PHP-WIN] Getting The Name Of A Form Within A Script
| From: | Christian Sandfeld | Date: | Wed, 10 Oct 2001 16:00:20 +0000 |
| Subject: | RE: [PHP-WIN] Getting The Name Of A Form Within A Script | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-9786@lists.php.net to get a copy of this message | ||
Not to my knowledge. However what you could do is ad a hidden field to your
form, parsing the name of your form to the script.
I.e.:
<FORM NAME="MyForm" ACTION="MyScript.php" METHOD="POST">
<INPUT TYPE="HIDDEN" NAME="form" VALUE="MyForm">
.
.
.
.
etc.
Then you would always have the name of your form in $form.
I know it's probably not what you're looking for, but it should work.
/Christian
-----Original Message-----
From: epankoke@csdatasol.net [mailto:epankoke@csdatasol.net]
Sent: 10. oktober 2001 17:33
To: php-windows@lists.php.net
Subject: [PHP-WIN] Getting The Name Of A Form Within A Script
When you set up a form in HTML whose action is a .php script (ie: <form
name=blah action="dosomething.php">), is there some way to get the name of
the form within the .php script?
Eric
_______________________________________________________
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net