Re: [PHP] How deep can I go with embedded if s.

2001-12-17 Thread Charles Williams
Mehmet, If you can keep the scope ({and}) correct then you will have no problems. However, it will get kinda slow after going deep enough. chuck - Original Message - From: "Mehmet Kamil ERISEN" <[EMAIL PROTECTED]> To: "php" <[EMAIL PROTECTED]> Sent: Monday, December 17, 2001 10:07 PM Su

Re: [PHP] How deep can I go with embedded if s.

2001-12-17 Thread jimtronic
Well, I just made a test program that nested 1000 if() statements and it worked. Just make sure you close all your curly brackets correctly. IMHO, a large number of nested if else elseif statements indicate poor programming design. Sometimes they are necessary, but usually can be simplified