SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Addict
    Join Date
    May 2011
    Posts
    242
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    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.

  2. #2
    From space with love silver trophy
    SpacePhoenix's Avatar
    Join Date
    May 2007
    Location
    Poole, UK
    Posts
    5,014
    Mentioned
    103 Post(s)
    Tagged
    0 Thread(s)
    http://sphinxsearch.com/

    Never used it myself but I think a number of big sites use it
    Community Team Advisor
    Forum Guidelines: Posting FAQ Signatures FAQ Self Promotion FAQ
    Help the Mods: What's Fluff? Report Fluff/Spam to a Moderator

  3. #3
    SitePoint Addict WolfShade's Avatar
    Join Date
    Mar 2014
    Location
    St. Louis, MO, USA
    Posts
    265
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    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,

    ^_^

  4. #4
    SitePoint Addict
    Join Date
    May 2011
    Posts
    242
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    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.

  5. #5
    SitePoint Addict WolfShade's Avatar
    Join Date
    Mar 2014
    Location
    St. Louis, MO, USA
    Posts
    265
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    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.

    ^_^

  6. #6
    SitePoint Addict
    Join Date
    May 2011
    Posts
    242
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by WolfShade View Post
    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.
    Because there are many options is I am posting here in order someone can point me to one already tested solution.
    Thanks a lot.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •