I have a search engine in the php, i have pressed search button to do searching. I want to have addition function - just pressing the "Enter" can also do the searching instead of search button. What is the code?
cliffcc
0
Junior Poster
Recommended Answers
Jump to PostWhat are you talking about? First of all, forms are HTML and have nothing to do with PHP. The default behavior of browsers is to submit input fields upon pressing "Enter". Do you have it as a textarea?
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.