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.
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.
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.