Re: Re[2]: [PHP] Control Structure problem

From: Date: Wed, 17 Sep 2003 05:41:00 +0000
Subject: Re: Re[2]: [PHP] Control Structure problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-162826@lists.php.net to get a copy of this message
--- Tom Rogers <trogers@kwikin.com> wrote: > This is why you need this construct > > $foo = 0; > switch (true) You must have missed example 1. :-) > which now works as expected Both examples work as expected, of course. Chris ===== Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/

« previous php.general (#162826) next »