how can I count last 7 days data from SQL and group them by day/date (excluding today). I should be able to use the result as $resultday1, $resultday2,
$resultday1
$resultday2