Last time I saw this it was due to a failing in IE. Certainly can't be PHP's fault.
But this works in Forefox, and IE6:
HTML Code:
<html><body>
<?php print_r($_GET);?>
<form id="stuff"><input type="submit"></form>
<script>
thisform = document.getElementById('stuff');
var field=document.createElement('input');
field.name= "foo";
field.value="wibble";
thisform.appendChild(field);
</script></body></html>
__________________
On two occasions I have been asked [by Members of Parliament], "Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?" I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.
Last edited by Weedpacket; 05-14-2006 at 08:23 AM.
|