Well a fix for that is to give the search box a name and value and have you search function have it watch. Example: <?php if ($submitted) { // run search func echo "you hit enter and I fired, don't lie.. you know you hit it!"; } ?> <form method="post"> <input type="submit" name="submitted" value="Submit me!"> </form> Code (markup):
LittleJonSupportSite, not a good way to do it at all. Easiest way is to make it work in IE is to have a hidden field. <input name="search" type="hidden"><input name="search_term" type="text"> Code (markup): Then in PHP if ( isset($_POST['search']) ) { // Blah } PHP: