U might want to do a type cast to integer from string... http://www.php.net/manual/en/language.types.type-juggling.php
On Mon, 2003-01-27 at 13:47, Scott Fletcher wrote: > I would need to use intval() to solve this problem.... > > "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I'm referring to '08' and '09' that don't work.... > > > > "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > --- Scott Fletcher <[EMAIL PROTECTED]> wrote: > > > > Found a PHP bug > > > ... > > > > if ($month == 01) > > > > > > I guess you mean: > > > > > > if ($month == '01') > > > > > > If so, this is not a bug. Otherwise, please explain what > > > you think is wrong. > > > > > > Chris > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php