RE: [PHP] case statement?

From: Date: Thu, 19 Dec 2002 18:26:46 +0000
Subject: RE: [PHP] case statement?
Groups: php.general 
Request: Send a blank email to php-general+get-128896@lists.php.net to get a copy of this message
> -----Original Message----- > From: Max Clark [mailto:max@clarksys.com] > Sent: 19 December 2002 18:19 > > 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). http://www.php.net/control-structures.switch Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@lmu.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#128896) next »