I find the switch statement does not always give the desired results and it's really not any different than using the if statement - the calculations would still have to be the same - it's just laid out differently.
----- Original Message ----- From: "Brian V Bonini" <[EMAIL PROTECTED]> To: "Beauford" <[EMAIL PROTECTED]> Cc: "PHP General" <[EMAIL PROTECTED]> Sent: Friday, May 30, 2003 9:18 PM Subject: Re: [PHP] What's wrong with this code?? > On Fri, 2003-05-30 at 20:02, Beauford wrote: > > Your right though, the code is awkward - but I couldn't think of any other > > way of doing it. > > > > Any suggestions? > > > > switch > > http://us4.php.net/manual/en/control-structures.switch.php > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php