Bug #16223 Updated: Nested If block not execute correctly

2002-03-22 Thread amin . javanbakht
ID: 16223 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: *Regular Expressions Operating System: SUN PHP Version: 4.1.2 New Comment: >>If the fruit is not blue or the fruit is not red, do something. Th

Bug #16223: Nested If block not execute correctly

2002-03-22 Thread amin . javanbakht
From: [EMAIL PROTECTED] Operating system: SUN PHP version: 4.1.2 PHP Bug Type: *Regular Expressions Bug description: Nested If block not execute correctly if ( ( $name != "test1" ) || ( $name != "test2" ) ) does not work properly. if I Do each condition seperately, it