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:[EMAIL PROTECTED]] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php