Log number of searches on your search engine: Add a row to a MySQL database. This'll be an integer, which will record the number of searches. Then edit your script so that every time a search is preformed, that integer in the table is gotten, then increased by one, and then saved to the table again. If you want to see how many searches have been done, then simply get the integer from the table and echo it. Simple.