Kal Amry <[EMAIL PROTECTED]> wrote: > If I have a form in named formName1 such as: > > <form name="formName1" action="file.php" method="post"> > > How can I get the name "formName1" from within file.php
you can't. but you can add a hidden form field to each form to pass along a value. for example: <form name="formName1" action="file.php" method="post"> <input type="hidden" name="form" value="1" /> ... </form> (then you can just access $form in file.php to figure out which form was submitted.) jim -- PHP General 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]