Re: Equivalent of the Basic function SELECT...CASE
| From: | jimtronic | Date: | Thu, 06 Dec 2001 17:40:41 +0000 |
| Subject: | Re: Equivalent of the Basic function SELECT...CASE | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76915@lists.php.net to get a copy of this message | ||
switch {} will do it.
http://www.php.net/manual/en/control-structures.switch.php
Could anyone tell me if there is a PHP equivalent to:
SELECT x
CASE 1 to 5
{...}
CASE ELSE
{...}
END SELECT
Muchos gracias.
Robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Jim Musil
---------
Multimedia Programmer
Nettmedia
-------------
212-629-0004
jim@nettmedia.com