Website search tool with MySQL

Good day,

I’d like to implement a search tool in my website.

I am looking for one able to:

  • customize the search object, like in this website (round corners, blue button at the right, Spanish instructions, …) http://www.sbs.cl/
  • interact with MySQL to get the results
  • show a list of suggested results under the search area while the words for searching are being entered, like in this website: http://www.lakeshorelearning.com/. If you enter “Maths”, many options are shown for you to select.

I’d appreciate if you can suggest any standard tool or library for me to use (PHP or jQuery), hopefully with a tutorial with examples.

Thanks a lot.

Never used it myself but I think a number of big sites use it

Even with jQuery, it will require a server-side solution. Make an AJaX call to a SS script (PHP, ASP, ColdFusion, etc.) and have that script display the results, then use the onreadystatechange to display or process the resulting value. You can possibly even return it in JSON format, if that will help. Don’t have any tutorials, sorry. I always just do it by trial-and-error.

HTH,

:slight_smile:

Hi WolfShade,

Are you talking about the site suggested by SpacePhoenix (http://sphinxsearch.com/)?

Is it possible for you to make some examples about how to do this?

Thanks a lot.

Hi, Sir_Acturua,

No, I’m not familiar with sphinxsearch. I was referring to building a search function from scratch. If you’re looking for a turnkey solution, then SpacePhoenix’s suggestion may be what you’re looking for. I’m sure there are many options out there.

:slight_smile:

Because there are many options is I am posting here in order someone can point me to one already tested solution.
Thanks a lot.