How are you with the database queries?
You need to write different queries for that, i show you basic structure for those queries.
$q1=mysql_query("Select metersize,description where date BETWEEN 'currentdate' AND '24agodate'");
$number1 = mysql_num_rows($q1);
if($number1 > =2)
{
$results = mysql_fetch_array($q);
forech($results as $result)
{
print description here
}
}
follow the same process for a month, for that just change take the date of 30days ago in the query.
if you don't get this process then give you database structure in next reply.🙂