krappleby025
Programmer
Hi all,
im trying to add 10 days to the curent date
here is what i have
$10daysahead = date("j/n/Y", time()+864000);
but its causing this error
Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in /home/httpd/vhosts/host-o-mania.com/httpdocs/accounts/admin/autoscript.php on line 3
what am i doing wrong
im trying to add 10 days to the curent date
here is what i have
$10daysahead = date("j/n/Y", time()+864000);
but its causing this error
Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in /home/httpd/vhosts/host-o-mania.com/httpdocs/accounts/admin/autoscript.php on line 3
what am i doing wrong