I'm trying to get the name of a form. I tried the following code, but I guess the data in $_POST only contains data on the form elements that go inside the form tags, but not info from the form tag itself. Any suggestions on how to get the form name? <? foreach ($_POST as $key=>$value) { echo $key . "---" . $value . "<br>"; } echo "<hr>"; echo "<form name=\"myForm\" action=\"test.php\" method=\"POST\" value=\"AAA\">"$ echo "<input type=\"text\" name=\"textbox\">"; echo "<input name=\"mySubmit\" type=\"submit\">"; echo "</form>"; ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php