PHP date arithmetic
I need to be able to determine an expiration date as being today plus a given subscription term. Given that:
Why does the following not work? And what would?
$expdate= date($curdate, mktime(0, 0, 0, date("m"), date("d")+$term, date("y")));