title: PHP date won't add
body: <p>My problem is Enddate won't add to my database but the space and startdate adds just fine.</p>
  <pre><code>&lt;?php
      include(&quot;config.php&quot;);
      $space=$_POST['space'];
      $startdate = date(&quot;Y-m-d&quot;);
      $enddate= &quot;date('Y-m-d', strtotime($Date. ' + 7 days'))&quot;;
      
      $query=&quot;insert into reservation (Sublessee_space,Res_startdate,Res_enddate) values('$space','$startdate','$enddate')&quot;;
      mysql_query($query);
      mysql_close($server);
      header('location:approve.php');
      ?&gt;
  </code></pre>