The second form responds with $_POST['task2'] equal to "SUBMIT" and not "save" when emulated using PhpED.
I am using the embedded IE browser. Is it IE7? How can it be changed?
<?php
echo('<pre>'.print_r($_POST,1).'</pre>');
?>
<form method='post' action='' name='form1'>
<button type="submit">SUBMIT</button>
<input type="hidden" name="task1" value="save" />
<input type="text" name="data1" value="test1" />
</form>
<form method='post' action='' name='form2'>
<button type="submit" name="task2" value="save">SUBMIT</button>
<input type="text" name="data2" value="test2" />
</form> |