Now that we have a database of ratings for each day (well assuming you are rating each diary entry that is) we can open and read that database and dynamically display results. First we need to know how to get an average. To do that we need two pieces of data: the accumulated total of all ratings and the total number of votes. Let's look at the PHP code to get an average
In the ongoing work of my PHP CMS, AdaptCMS, one thing I have basically worked on every version is stats. Every time someone loads a page, info is stored (date, ip, browser, os, username, referral, etc.). I either find a new way to make the stats more accessible or a new bit of important info. Recently I noticed some websites I was visiting were displaying bots currently at the site ("Googlebot", "MSN Bot", etc.) and found out something new and important to keep track of.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.