Re: What's wrong with this code??
| From: | Beauford | Date: | Sat, 31 May 2003 10:28:06 +0000 |
| Subject: | Re: What's wrong with this code?? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149639@lists.php.net to get a copy of this message | ||
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" <b-bonini@cox.net>
To: "Beauford" <beauford.2005@rogers.com>
Cc: "PHP General" <php-general@lists.php.net>
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
>
>