Yes, It's called "SWITCH"

Just go to and lookup "switch" in the function list
 Max Clark <[EMAIL PROTECTED]> 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,

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to