Re: case statement?
| From: | Manuel Ochoa | Date: | Thu, 19 Dec 2002 18:55:38 +0000 |
| Subject: | Re: case statement? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128902@lists.php.net to get a copy of this message | ||
Yes, It's called "SWITCH"
Just go to www.php.net and lookup "switch" in the function list
Max Clark <max@clarksys.com> wrote:Hi-
I was wondering if php had a case function?
Instead of building a large if/elseif/else block I would like to do a case
$page in (list).
Thanks in advance,
Max
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php