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
Started on the old forum in January 2011 · view the original in the archive · old links redirect here
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
this would be good reading for a start PHP: time - Manual and this as well PHP: date - Manual
It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!
$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>";
}
vijayakumar wrote: 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
External image (may be gone) Free Mobile Web Scripts by me: Free Youtube Downloader, Tweets Reader, Facebook Wall Posts Reader PHP Tutorials: [How to Secure Your PHP Script (PHP SECURITY)](http://coding-talk.com/f14/how-to-secure-you…