On Thu, 19 Dec 2002, Max Clark wrote: > 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).
switch function ... http://www.php.net/manual/en/control-structures.switch.php ~Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php