Good day, dear programmers =))
Before me is the task to display data for several days, for a week and for a month in the 2nd appropriate columns.
The problem is that I do not know how to do it.
How to display data for a specific date I know.
$datesearch = date("Ymd"); $query = mysql_query("SELECT * FROM `table` WHERE date like '%$datesearch%'");
Question: how to display data for this week and this month?