stuck with phptime function
<p>What i am trying to achive is return something like this. </p>

<p>day1
day2
day3
...
day7
Today, as in today's date should be equal to day1, tomorrow, should be equal to day 2 and the same applies until day7.</p>

<p>What i have written so far is this but i am stuck and not sure how to proceed. </p>

<pre><code>function future_date (){ 
    $numDays=7; 
    for($i=0; $i&lt;$numDays; $i++) { 
        $futuredate = date('d-m-Y', strtotime('+' . strval($i) . ' days'));
        print $futuredate;
        return $futuredate;
     }
}
</code></pre>
