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

2001-12-17 Thread Charles Williams
nday, December 17, 2001 10:07 PM Subject: [PHP] How deep can I go with embedded if s. > Hello All, > Is anybody aware of any limitations of php on embedded if > ..else statements? > For example: > > if ($a>$b) { > if ($c>$d) { >

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

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

2001-12-17 Thread Mehmet Kamil ERISEN
Hello All, Is anybody aware of any limitations of php on embedded if ..else statements? For example: if ($a>$b) { if ($c>$d) { this(); } else { if ($gg==$dd) { echo 'ladooo'; } else { echo '