RE: [PHP] if statement help

2005-11-04 Thread Ford, Mike
On 03 November 2005 15:26, Brent Baisley wrote: You only need one if. The parenthesis will evaluation order. if( ( !empty( $var1 ) || ( !empty( $var2 ) !empty( $var3 ) ) || $var1 == something ) However, the $var1==something test is redundant in this, since if that is true the

[PHP] if statement help

2005-11-03 Thread Jason Gerfen
I am trying to determine if it is worth my time to attempt a if statement similar to the following. I am asking because I have not found any references to something like this: if( ( !empty( $var1 ) ) || ( if( !empty( $var2 ) ) ( !empty( $var3 ) ) ) || ( $var1 == something ) ) { // do

Re: [PHP] if statement help

2005-11-03 Thread Brent Baisley
You only need one if. The parenthesis will evaluation order. if( ( !empty( $var1 ) || ( !empty( $var2 ) !empty( $var3 ) ) || $var1 == something ) On Nov 3, 2005, at 10:13 AM, Jason Gerfen wrote: I am trying to determine if it is worth my time to attempt a if statement similar to the

[PHP] sql statement help needed

2004-06-30 Thread Chris W. Parker
hello, i've had to change some of my tables to accomodate some greater flexibility in the application that uses it and because of this i need to go through and update all the records. i've done one table by hand and it had about 100 records and took about 20 minutes. but this next table has about

Re: [PHP] sql statement help needed

2004-06-30 Thread Binay
- Original Message - From: Chris W. Parker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 01, 2004 3:33 AM Subject: [PHP] sql statement help needed hello, i've had to change some of my tables to accomodate some greater flexibility in the application that uses