> One more thing... If I got '2001-09-01'
> Is there a fast way of incrementing the month of it?
> making it '2001-10-01' ?
list($year, $month, $day) = explode("-", $date);
$month++;
if ($month == 13)
$month = 1;
$date = "$year-$month-$day";
Eric O'Connel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP] simple question... Ker Ruben Ramos
- [PHP] Re: simple question... Emile Bosch
- Re: [PHP] simple question... Jason G.
- Re: [PHP] simple question... * R&zE:
- Re: [PHP] simple question... Ker Ruben Ramos
- Re: [PHP] simple question... Eric O'Connell
- Re: [PHP] simple question... * R&zE:
- Re: [PHP] simple question... * R&zE:
- Re: [PHP] simple question... Ker Ruben Ramos
- Re: [PHP] simple question... * R&zE:
- Re: [PHP] simple question... Jason G.

