Here is a simple MySQL example
This page will track how many times it has been visited
The page has been visited 387 times!
This functionality was achieved using a very simple single row and single column MySQL table
Along with only 13 lines of code (8 without newlines) you get a counter
