SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Evangelist
    Join Date
    Jan 2002
    Location
    Scotland, UK
    Posts
    530
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Adding a "search box" to my site in PHP

    Hi folks,

    On my quest for feature rich fullness I've decided the next stage to look at is adding a search box to my site that will hunt through the pages Ive got stored in my database and churn out a list of results. Before I go and try to reinvent the wheel I was wondering if there was a simple script or tutorial out there I could have a look at that would help me fill in some blanks.

    Many thanks,

    Rikki

  2. #2
    I Never Give Up roosevelt's Avatar
    Join Date
    May 2005
    Posts
    515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    This tutorial will give you a lot of information on MySQL Full Text search system. http://devzone.zend.com/node/view/id/1304

  3. #3
    <?php echo"GiroPets"; ?> giropets's Avatar
    Join Date
    Jul 2003
    Location
    United States
    Posts
    242
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've been out of web design for awhile now (I'm trying to get back into it) but from what I've done before, I'd recommend Google search just for web pages on your site (I recommend reading this), and if you wanted to search something in a database, I'd recommend using PHP. I'm sure there's programs out there that are up for download where you can get PHP search engines from, but I'm sure they're going to be a big hassle to install. Good luck. My best bet would be to look into Hot Scripts.

    - Mike.
    GiroPets.net - Virtual Petsite

  4. #4
    Visible Ninja bronze trophy
    JeffWalden's Avatar
    Join Date
    Sep 2002
    Location
    Los Angeles
    Posts
    1,709
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by roosevelt View Post
    This tutorial will give you a lot of information on MySQL Full Text search system. http://devzone.zend.com/node/view/id/1304
    Great article!
    TAKE A WALK OUTSIDE YOUR MIND.

  5. #5
    SitePoint Evangelist
    Join Date
    Jan 2002
    Location
    Scotland, UK
    Posts
    530
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The database only holds about 500 "articles" and I will be adding maybe 2 a week or so. Its to search reports on car shows etc.

    www.strathycruise.com/events

    What do you think would serve best (without taking a sledgehammer to crack and egg)?

    Thanks,

    Rikki


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
  •