[thelist] MSIE Form Submit Issues Discovery
gabriel rivera
evolt at protocol0.com
Wed Feb 19 17:40:01 CST 2003
Hi Michael,
> My PHP script was using the name and value of the submit buttons to
> check for form submission.
Maybe a better approach would be to use a hidden input field?
i.e.
<input type="hidden" name="submitted" value="1">
Also, to check if a form was submitted in php, its often as simple as:
<?
if($_POST) {
//..do stuff with postvars
}
?>
-gabriel
More information about the thelist
mailing list