PHP date wont add
<p>my problem is Enddate wont add to database but the space and startdate adds.</p>

<pre><code>&lt;?php
    include("config.php");
    $space=$_POST['space'];
    $startdate = date("Y-m-d");
    $enddate= "date('Y-m-d', strtotime($Date. ' + 7 days'))";

    $query="insert into reservation (Sublessee_space,Res_startdate,Res_enddate) values('$space','$startdate','$enddate')";
    mysql_query($query);
    mysql_close($server);
    header('location:approve.php');
    ?&gt;
</code></pre>
