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
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
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
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
- 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
5 matches
Mail list logo