I have a really basic form (index.php) that works in at least Mac Safari and Windows Firefox & Opera. It does not work in Windows Internet Explorer. Suggestions are welcomed.
The same index.php file contains the following form processing:
MSIE does not seem to recognize the button value and return the PHP result. Why?
Code:
<form id="FormName" action="index.php" method="get" name="FormName"><button name="button" value="submitted" type="submit">Submit</button></form>
The same index.php file contains the following form processing:
Code:
<?php
if ($_GET[button]=="submitted") {
print ("submitted successfully");
}
?>
MSIE does not seem to recognize the button value and return the PHP result. Why?