Most Searched in PHP

Discussion in 'PHP' started by crazyryan, Nov 11, 2007.

  1. #1
    Can someone quickly explain what I'll need to do and record in the database etc.

    I know I have to record all the searches, but I'm not sure how I'd go about checking what is the most searched.

    [/dumb]
     
    crazyryan, Nov 11, 2007 IP
  2. pubdomainshost.com

    pubdomainshost.com Peon

    Messages:
    1,277
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Not sure what your question is, but if you are going to create a form, you can always store the values in database (mysql) with PHP.
    But as I said, I have not really understood your question :S
     
    pubdomainshost.com, Nov 11, 2007 IP
  3. jakomo

    jakomo Well-Known Member

    Messages:
    4,262
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    138
    #3
    Hello,
    I was trying to understand, but really I could not, please can you explain again? Are you looking for create a search script with PHP ? and save it in a database and then make a rank with the term more searched ?
     
    jakomo, Nov 11, 2007 IP
  4. matthewrobertbell

    matthewrobertbell Peon

    Messages:
    781
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Check to see if that term has been searched for before, if it has increment the counter for that word by one, otherwise insert that word into the db with a counter value of 1.
     
    matthewrobertbell, Nov 11, 2007 IP