Well then after or before that you have to check that the month value is
between 1 and 12 to make sure there's no input errors, then what if you ever
want ot change the quarters.... yeah anway I just wanted an excuse to tell
people to go low tech and use a switch, it's only 12 entries, and you could
set a default.
- Dan
"Fredrik Thunberg" <thunis@xxxxxxxxxxxxxxxxxxx> wrote in message
news:4688FFD1.5040203@xxxxxxxxxxxxxxxxxxxxxx
of course ceil( month / 3 );
--
/Thunis
Don't panic.
--The Hitchikers Guide to the Galaxy
Fredrik Thunberg skrev:
$q = ceil( month / 4 );
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php