RE: [PHP] if elseif else

From: Date: Fri, 19 Apr 2002 14:04:11 +0000
Subject: RE: [PHP] if elseif else
Groups: php.general 
Request: Send a blank email to php-general+get-93700@lists.php.net to get a copy of this message
You can use as many elseifs as you need. I'm not sure how it affects performance, but it works (I have one that goes through all 50 states). -Natalie -----Original Message----- From: Gerard Samuel [mailto:gsam@trini0.org] Sent: Friday, April 19, 2002 10:02 AM To: PHP Subject: [PHP] if elseif else I redoing some code, and the original author has code like if elseif elseif elseif else I have always known it to have just one elseif, not multiple ones. I was going to move it to a switch/case, but there is no common switch. So I wanted to know if its technically ok, or just ok to use multiple elseif Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#93700) next »