This is my code ( from form to fetch data from my database table).
<form method=\"post\" action=\"$php_self\">
<input type=\"text\" name=\"cari\">
<input type=\"submit\" name=\"fetchingdata\" value=\"Go!\">
</form>
My question is, how come if I fill the text field and press enter I dont get the result.
but if I fill the text field and then hit/click the Go! button, I got the result.
Is there anyway to hit enter and treat the same like I click the go! button ?