submitted by: ignatz
PHP: form action - detect form post
There are several ways to process a php form. This example looks for the existance (regardless of value) of the Submit _POST variable.
code snippet:
<?
//check if the submit variable exists
if ($_POST['Submit']) {
echo "<BR>got submission<BR>";
//process form action
}
?>
notes:
This example assumes the form's submit button is named "submit" (although the label can be different)



