Friday, 22 July 2011

increasing date or how to get next date to current date or date in loop

for applying date in a loop
you have to increasing date according to your condition.
so there is a way

       $date = date ("Y-m-d", strtotime ("+1 day", strtotime($date)));