I have a PHP search page that allows users to enter search words. Problem is, the user has to click search or use tab to select the search button. When you enter the search words and hit "enter" the page just resets itself and nothing happens.
I am using - if ("search" == $submitinfo)
{
code here}
A good example of how I want it to behave is how the google page works. You can enter a search string and just hit enter.
I am using - if ("search" == $submitinfo)
{
code here}
A good example of how I want it to behave is how the google page works. You can enter a search string and just hit enter.