Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

Best Way To Code Searching for Individual Pages on a Site in PHP

Status
Not open for further replies.
Joined
Apr 26, 2005
Posts
7,412
Reaction score
151
Hi Guys

If I have a large site where I want to create a search that will allow users to search for pages, what is the best way to do this in PHP. E.g. a user is looking for a page on Dishwashers, so I want it to return pages related to dishwashers.

Is it best to put all my page names in a database, or is there an easier way? I guess I could either index my whole site and use a search engine type search to return results, or I could create a custom database of my page names. Let me know what you think works best.

Many thanks
 
Status
Not open for further replies.
General chit-chat
Help Users
  • No one is chatting at the moment.
      Helmuts @ HelmutsHelmuts is verified member.: Good morning all
      Top Bottom