Well I tell you, I have a website where I have products for sale. Previously I could put them on the main page without worrying that customers would not find what they were looking for because they were few products. But now I have increased the catalog and start to require a search method that finds each product. I do not want to use a CMS and I do not want to design my website from scratch with Databases . I had planned to do a Search Box that will search Keywords with the relevant data for the search.
For example: I have a product on sale, let's say Auto in color red
then I have a file autorojo.html
where is all the info about the car.
(Yes, I am perfectly aware that it is not the best way to make a page, it is preferable to use Databases, and do everything with PHP, but my knowledge does not give so much for now, so I hope you respect my way of do things)
Now: let's say I have, in the file autorojo.html
and in, in <head>
I have a <meta>
tag as follows: <meta name="keywords" content="auto, rojo">
I would like to know if there is any way with PHP or JS, through a Search Box to search the Keywords present in the HTML file and make a call to that file and then make a display in the part of the relevant website.
I know some will seem a bit obsolete but I plan to learn PHP thoroughly and use MVC in the near future to redesign the page.
I will accept suggestions for other design methods, if you think that mine has no remedy haha.
Thank you very much in advance!