le 27/03/2004 à 01:16
Classement par semaine
Re salut,
Bon alors vu comment j'y comprends pas grand chose, j'ai fait à ma sauce, c'est pas tout à fait ca mais ça s'y rapproche :)
J'ai fait la news la plus lue dans les 7 derniers jours avec la fonction mktime !
$tempsok = date("Y-m", mktime(date("H"), date("i"), date("s"), date("m"), date("d") - 7, date("Y")));
Bon week-end :)
Bon alors vu comment j'y comprends pas grand chose, j'ai fait à ma sauce, c'est pas tout à fait ca mais ça s'y rapproche :)
J'ai fait la news la plus lue dans les 7 derniers jours avec la fonction mktime !
$tempsok = date("Y-m", mktime(date("H"), date("i"), date("s"), date("m"), date("d") - 7, date("Y")));
Bon week-end :)
)
