Re: [PHP] if else if statement failed...

2003-06-26 Thread Ernest E Vogelsinger
At 22:09 26.06.2003, Scott Fletcher said: [snip] >I am seeing the problem now. It seem that it had to do with the 'OR' >statement inside the elseif statement... I'm going to try a workaround to >it... As for you mentioning about the code... It's too bad t

Re: [PHP] if else if statement failed...

2003-06-26 Thread Scott Fletcher
Just found the problem, the if, else-if, else statement work okay when it is too many. The reason it doesn't work is because there's a loophole in the script due to someone's flaw logic or haven't thought about it when brainstorming... Thanks, Scott "Scott Fletcher" <[EMAIL PROTECTED]> wrote in

Re: [PHP] if else if statement failed...

2003-06-26 Thread Scott Fletcher
I am seeing the problem now. It seem that it had to do with the 'OR' statement inside the elseif statement... I'm going to try a workaround to it... As for you mentioning about the code... It's too bad this message window doesn't properly display the tabs --clip-- if ($firstname == \"\") {

RE: [PHP] if else if statement failed...

2003-06-26 Thread Jay Blanchard
[snip] Noticed something interesting. I was helping to debug someone's programming problem and found that if there is to many 'else if' in the if and else statement then it doesn't work. Have anyone encoutered this problem and know of a workaround to it? [/snip] I'd have to see the code Jay --

RE: [PHP] if else if statement failed...

2003-06-26 Thread Dan Joseph
Hi, >Noticed something interesting. I was helping to debug someone's > programming problem and found that if there is to many 'else if' in the if > and else statement then it doesn't work. Have anyone encoutered this > problem and know of a workaround to it? That sounds kinda bizzar