Ok. Your site has recorded the data you want, now you want to display it in an easy to read format. The first method that comes to mind is simply to put the data in an HTML table. Although this is probably the easiest way out, there is a much better way of displaying your information: a graph. This is a quote from PHPBuilder's newest article, Dynamic Graphs with PHP, MySQL and GD.
In their latest piece, they start you off with some simple image manipulations - just stretching and molding an image to match some input values using GD to create and display it. Of course, this naturally leads into making the dynamic graphs from the information in your log files, and makes it easy to just grab the totals (or subtract some values) to get a nice, easy to read graph of the information you have. They pull the information from a MySQL database, but it could just as easily come from a text file.
Just a little FYI: GD takes quite a bit of overhead on the server to generate these dynamic images, so, if you're looking for something to use on a high-traffic site, you might want to just consider a cron that dumps the image to a file every ten minutes or something.




