still it is not working in IE9
AFAIK a server side process will never be browser dependent. If something is not working in a particular browser, there may be invalid code or Javascript mucking up the works. It's something in your page output
before you try to submit.
That being said,
1)
Validate the page [validator.w3.org]. If the page is a result of PHP output and a direct URL won't work, get on the page, view the source, and use the direct input tab on the validator.
2) When you say "won't work" does that mean "won't submit?" If so there may be some layout method rendering the submit button inaccessible. Check out the page in FireFox and use the FireBug extension to scope that out.
3) Related, use input type="submit" if you're not already. Input type="button" or <button> have no inherent actions on their own and require Javascript to work.
4) As mentioned, add programming server side to debug. Error trapping is often overlooked, even if it's never used when everything is working. Example,
if ($some_condition) {
$err = try_to_do_something();
if ($err) { print $err; }
else { print $success; }
}
You can build this into anything you write with something like this
// $debug=1; // uncomment to turn on debugging
// Then throughout your code,
if ($debug) {
print "input value is $this and $that<br>";
}
Another real world example is the
handling of PHP mail [webmasterworld.com]. Usually just "mail(...)" works, but when it doesn't it's useful to do
if ! (mail(...)) {
// Mail returns true or false.
// If false, you will wind up here, print error message
exit;
}