title: How to extend date in PHP?
body: <p>I have developed a subscription website. I am facing php date extend problem.</p>
  
  <p>Please read my message-</p>
  
  <p>Suppose today i have subscribe a package. Package duration 1 month. I mean 2014-05-08 to  2014-06-07</p>
  
  <p>After two days i will again subscribe this same package. now the Package duration will extend 2014-06-07 to 2014-07-07</p>
  
  <p>In my PHP code i am getting current date to +1 month but how to get after 1 month to next one month?</p>
  
  <p>I have used this code:</p>
  
  <pre><code>date('Y-m-d h:i:s', mktime(0, 0, 0, date("m")+$getSubscription['Subscription']['duration'], date("d"), date("Y")));
  </code></pre>