Do you mean a variable being passed to the next page from within a form ex. <input type="text" name="variable_001"> or <form name="form_001" action...>
If you are talking about the input name for a text box use this snippit...
<?php
is(empty($_POST['variable_001']) {
// Do negative result code
} elseif(!empty($_POST['variable_001']) {
// Do positive result code
...


Or if it the name of the "actual form" you want try setting a hidden field with the same name as the form.
ex.
<form name="form_001" action="nextpage.php">
<input type="hidden" name="form_001" value="form_001">


HTH
Jas

Php wrote:

Hi,

If I have more than one form on a page, how can I get the name of the form that was sent on the recieving page without using javascript?

tia,
Craig

====================
TOP DRAW INC.
====================
p 780.429.9993
f 780.426.1199 [EMAIL PROTECTED]
www.topdraw.com


10210 - 111 Street, Edmonton, Alberta T5K 1K9
====================

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to