Yes, It's called "SWITCH" Just go to www.php.net 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, Max -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php