lundi 11 mai 2015

i want to get weekly info from my php database

array_push($burgers_eaten, $row["burgers"]);

        $date = date("d-m", strtotime($row["dateeaten"])); 
        array_push($date_eaten, $date);

I want to get the weekly data rather than daily data which i am currently getting. I want to find all the burgers eaten in the last 7 days. Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire