strstr($str, $needle) returns a substr start from first occurance of $needle
in $str to the end of $str.
strstr($value,VLD:) != ? $VLD_CNDTNS[] = strtr($value,VLD:,) :
$SBMT_CNDTNS[] = $value;
equivalent to:
if( strstr($value, VLD:) != ) {
$VLD_CNDTNS[] = strtr($value,VLD:,);
} else {
thanks, another question is what does the ? means in this line?
Alex Shi wrote:
strstr($str, $needle) returns a substr start from first occurance of $needle
in $str to the end of $str.
strstr($value,VLD:) != ? $VLD_CNDTNS[] = strtr($value,VLD:,) :
$SBMT_CNDTNS[] = $value;
equivalent
Message -
From: Sall Him [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 05, 2001 4:44 PM
Subject: Re: [PHP] what does this line means? Many thanks
thanks, another question is what does the ? means in this line?
Alex Shi wrote:
strstr($str, $needle) returns a substr
3 matches
Mail list logo