Hi,
I'm trying to do a table that returns the number of pages created over a period of 7 days. The table stores the date the field was created in Unix Format (10digits), the page name.
How do I write the query that will return the data and display it in a table. I can get the all the pages and limit the display to x records using the following code:
$result = Mysql_query( "Select user, hits,(FROM_UNIXTIME(created)) From tiki_pages ORDER BY created desc Limit 0, 20" );
But I cant work out how to do the date calculations.
Any help would be appreciated
Tim