I have different files such as example.html, example2.html and so on. I want to search any word inside these files and display information on site. Is it possible without MySQL (file_get_contents) if yes and how? Or is there convenient way with mysql?
Share
Ok, I suppose you want to search inside a web page very much like what cntrl+f provides.
So this can be done by using java-script. For a demo, make a html file, paste in the following code and check how will it work.