I have a submit form with a text field. I want it to auto fill the date "7 days" from now into MySQL, and also be editable.
The code below worked fine a few days ago, well until a new month is coming around the corner.
$SevenDay = date("d") + 7;
<?php echo $year,"-",$month,"-",$SevenDay ?>
Is there a simple way to do this?