This is my first try at using strtotime, and I just can\'t seem to get this to work. Lets say I have:
$foo = 2002-04-10;
print date(\"Y-m-d\", strtotime(\'2002-04-10 + 3 days\'));
Gives me: 2002-04-13
That\'s what I expect, however in my case I don\'t know that the date is 2002-04-10 so I want to replace the date with $foo
print date(\"Y-m-d\", strtotime(\'$foo\' + \'+ 3 days\')
Gives me: 2002-04-09 (todays date)
Any ideas how to make this work?