hello friends please help
how is last 7 days in php
examble:
02.01.11
01.01.11
31.12.10
30.12.10
29.12.10.....etc
how is last 7 days in php
examble:
02.01.11
01.01.11
31.12.10
30.12.10
29.12.10.....etc
$m= date("m");
$de= date("d");
$y= date("Y");
for($i=0; $i<=7; $i++){
echo date('d-m-y:D',mktime(0,0,0,$m,($de-$i),$y));
echo "<br>";
}
Comment