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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 10. oktober 2001 17:33
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to