Web Hosting Talk







View Full Version : How to Show top queries


superflit
04-28-2006, 11:07 AM
Hello,

I have a simple site, that has a form that gets the input from the user like a word and it makes a sql_query like "input" on the database.
Everything is ok.
But how can I implement the "most searched", to show the most searched inputs?

orbitz
04-28-2006, 11:16 AM
on the database, keep a record of the keyword they use. have a field call counts. increment count each time a user uses it.