Hi all,
I have a page, with all the data presented like pagination collecting from the database…
Now i want to search/find by enabling a text box, based on the string entered in the text box, only that string matching rows should be display in that page…
If you are already getting your data from a MySQL database, all you need to do is add a form to the page with an input text box, and then use that input in your query to construct something resembling this:
SELECT * FROM table WHERE field LIKE ‘%string%’
% is the wildcard so the above query will look for anything that has the word string somewhere in field.