Re: if elseif else
| From: | The_RadiX | Date: | Fri, 19 Apr 2002 14:04:25 +0000 |
| Subject: | Re: if elseif else | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-93701@lists.php.net to get a copy of this message | ||
Nope..
That is fine..
I use it all the time.. It's quite acceptable..
----- Original Message -----
From: "Gerard Samuel" <gsam@trini0.org>
To: "PHP" <php-general@lists.php.net>
Sent: Saturday, April 20, 2002 12:01 AM
Subject: [PHP] if elseif else
> I redoing some code, and the original author has code like
>
> if
> elseif
> elseif
> elseif
> else
>
> I have always known it to have just one elseif, not multiple ones.
> I was going to move it to a switch/case, but there is no common switch.
> So I wanted to know if its technically ok, or just ok to use multiple
elseif
>
> Thanks
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>