How to track most searched keywords on website?

Hello i was thinking to show most 10 searched keywords and echo below the search form

Like this example below.

1.php 2.mysql 3.knowdlege 4.required 5.echo 6.print 7.display 8.bottom 9.search 10.form.

How to save the searches ? I think each time somebody hits ( Search ) it should also automaticaly update database with the value direct from the search form.

Is that possible and secure ?

Thanks in Advance

Yes, each time someone does a search, you store whatever you define as keywords into a table - either in a log form so your query will need to count the results, or simply store a count against each one to speed up the query.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.