gnawz Posted June 19, 2007 Share Posted June 19, 2007 Hi all, I need to read data form MySQL database and generate reports as follows: "today" "past 7 days" "past 30 days" Something like 'SELECT 1,2,3,4 from table WHERE DATEDIFF("certain number of days from current date) PLEASE HELP. Quote Link to comment https://forums.phpfreaks.com/topic/56177-reports-by-date-in-phpmysql/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.