note 14437 rejected and deleted from control-structures.elseif.php by philip

From: Date: Tue, 31 Jul 2001 14:53:00 +0000
Subject: note 14437 rejected and deleted from control-structures.elseif.php by philip
Groups: php.notes 
Request: Send a blank email to php-notes+get-16107@lists.php.net to get a copy of this message
if ('$l == 1') { $Sdm = 'Yule the Second'; } elseif ('$l == 2') { $Sdm = 'Afteryule the 1st'; } elseif ('$l == 3') { $Sdm = 'Afteryule the 2nd'; } elseif ('$l == 4') { $Sdm = 'Afteryule the 3rd'; } elseif ('$l == 5') { $Sdm = 'Afteryule the 4th'; } elseif ('$l == 6') { $Sdm = 'Afteryule the 5th'; } I have a problem with more than on elseif going right to the bottom one and I dont know why

« previous php.notes (#16107) next »