How can I add 7 days to this date ?
$today = date('M-j-Y');
echo $today;
Also trying to do this..
what I am trying to do is if a person cant go into a certain area for 7 days, and trying to figure out how many days he has left before he can get in..
I add the time in the db by using time()
$checkdate = (time() - 604800);//todays date - 7days
and to get the time from db here is the variable:
$enterdate2