Paul Goepfert wrote:
... What this script does is selects tomorrows date...

Here is a one-line way to find the month and day of tomorrow:

<?php
list($tomorrow_month, $tomorrow_day) = split(':', date('m:d', time()+86400));
?>

Test that ... I just wrote it off the top of my head. Maybe that will simplify your code.

Dante

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to