In IE When I use enter/return to submit the form, instead of clicking the submit button, the page refreshes as if the php had been executed but it doesnt; the form isn't submitted. <form method="POST"><b>What do you want to search by?<br></b> <input type="radio" name="group1" value="age">Age<br> <input type="radio" name="group1" value="fname">First Name<br> <input type="radio" name="group1" value="lname">Last Name <br><br> <b>What do you want to search for?</b><br><br><input name="find" type="text" class="input"> <input name="submit" type="submit" value="Search" class="submit"> </form> Code (markup): Thats the form code. Is there anything wrong with it? Its fine in firefox, for when I press enter or click the button. +REP awarded.
That's not much better... You should have action="this-page.php", action="?" or action="<?php echo $_SERVER['PHP_SELF']; ?>" The "?" is a workaround so you don't have to type the filename of the script, all it does is request the page with a "?" at the end.
If you are hitting the enter key and not clicking on the button, is there a chance the focus is not on the button, and hitting the enter key is not causing the button to execute?