0

Possible Duplicate:
Increase days to php current Date()

i was wondering how can i make a look that will print out toodays day and all the days for the following 7 days. I am using somthingh like this date("m.d.y")+1;``date("m.d.y")+2; ect How can i make a loop that will wriet this out in a decent format ? Thanks for the time in advanced

Community
  • 1
  • 1
Gunnit
  • 1,064
  • 5
  • 22
  • 45

1 Answers1

1
for ($i=1; $i<=7; $i++) echo date("m.d.y", time() + (86400 * $i));
slash197
  • 9,028
  • 6
  • 41
  • 70