title: php for loop for date increment each time
body: <p>I want to loop a date so that every time date is increment by previous date. my code is here. plz reply anyone, thanks in advance</p>
  
  <pre><code>  $today = date('Y-m-d'); 
  
    for($i=1; $i&lt;=4; $i++){                
      $repeat = strtotime("+2 day",strtotime($today));
      echo $rdate = date('Y-m-d',$repeat);
    }
  </code></pre>
  
  <p>I want result as if today is 2016-04-04 than, 2016-04-06, 2016-04-08, 2016-04-10, 2016-04-12.</p>
  
  <p>actually i want to make a reminder date where user enter reminder. lets a user want to add reminder today and want repeat it 5 time after 2days, 3days or what ever he wants, in next comming day. than how i repeat date with for loop.</p>