Hi everyone,
I'm using PHP to pull information from a MySQL database and create a form with fields that can be modified and updated upon pressing the "Submit" button.
The page works just swell in every browser I've tried with the exception of Internet Explorer for Windows (all versions). I have tried Safari 1.0 under Mac OS X, Netscape 7 under OS X, and Internet Explorer 5 under OS X.
Why this doesn't work in IE6 and earlier for Windows is puzzling to me. I have concluded that the problem is occuring with the "GET/POST" function of the <FORM> tag. The tag opens with:
<form name="myform" method="get" action="editcourses.php">
and closes with:
<input type="hidden" name="count" value="13" />
<input type="hidden" name="posted" value="posted" />
<br /><input type="submit" value="Update" />
<input type="reset" value="Reset" />
</form>
with a bunch of code to make the tables in between. The page is Valid XHTML 1.0 Transitional and I'm sure there are no errors in the HTML portion of the code.
When I press the Submit button, literally nothing happens. On the working browsers, the database gets updates, it shows the cute little "Please wait while we update the database..." message and everything is grand.
The only way to get the Submit button to respond is to change the line to read method="post", in which case it reloads the page, but of course, the changes/mofications do not stick because it's pulling everything from the original source database again.
So why do all the Mac browsers (and probably other Windows browsers) work with method="get' and IE for Windows doesn't? I have disabled caching, FYI.
Thanks in advance!
Benny
P.S. I'd be happy to post more code if that's helpful.