note 56293 deleted from control-structures.switch by mazzanet

From: Date: Tue, 30 Aug 2005 10:17:02 +0000
Subject: note 56293 deleted from control-structures.switch by mazzanet
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-94376@lists.php.net to get a copy of this message
Note Submitter: m0oseman at hotmail dot com ---- I wanted to put conditional formatting in "case" statements, but its not allowed so I just left out the "break;" statements. Easy enugh. switch ($color){ case "RED": case "LIGHTRED": echo "red enugh"; break; case "blue": case "navy": echo "blue enugh"; break; }

« previous php.notes (#94376) next »