Troy's code will work just fine, here's another way of doing it:
[php]$tomorrow = date('Y-m-d',mktime()+86400);[/php]
Hi,
I think is better to use time() instead of mktime() in this case
And a little explanation:
date() function get's two arguments. first one is date format, second one is function time() which get the current time in UNIX format.
We can manipulate time() function with - or + time.
so 86400 is the sum for the seconds in 24hours.
24*60*60 (24 hours * 60 mins * 60 sec).
Well date function will convert UNIX time time stamp to your date format. That's is...
excuse my english it's not my native language and i hope this will help you to understand how the things work out