How to code Search function for a website

Discussion in 'Programming' started by edgeco, Mar 17, 2010.

  1. #1
    Hi,
    I'm looking for a way to be able to search within my website and would like an easy way to do that. What steps would I need to do in order for that to work. I have already placed a spot on my webpage for the search function, just want to know how to code it to make it work. Thank you so much.
     
    edgeco, Mar 17, 2010 IP
  2. TrillHosting

    TrillHosting Greenhorn

    Messages:
    88
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #2
    You can use PHP programming language to do a search..
    You have to take your search term and search it from your database under articles or something like that..
     
    TrillHosting, Mar 17, 2010 IP
  3. edgeco

    edgeco Member

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    First, thanks for your help. I need a little more detailed information on how to set up the database and the php code. Does anyone have a good php script that is free and easy to implement for a newbie. Thank you.
     
    edgeco, Mar 17, 2010 IP
  4. TrillHosting

    TrillHosting Greenhorn

    Messages:
    88
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #4
    I wrote a simple search engine tutorial some time ago:
    trilldesigns.com/forum/index.php?/topic/108-simple-mysql-database-search/
     
    TrillHosting, Mar 17, 2010 IP