CODE
<?PHP
if ($btnSubmit != "") {
echo "You have pressed the submit button";
}
?>
<form method="POST" action="<? print $_SERVER['SCRIPT_NAME'];?>">
<input type="submit" name="btnSubmit" value="push me">
</form>
if ($btnSubmit != "") {
echo "You have pressed the submit button";
}
?>
<form method="POST" action="<? print $_SERVER['SCRIPT_NAME'];?>">
<input type="submit" name="btnSubmit" value="push me">
</form>