Re: [PHP] what does this line means? Many thanks

2001-09-05 Thread Alex Shi
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 {

Re: [PHP] what does this line means? Many thanks

2001-09-05 Thread Sall Him
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

Re: [PHP] what does this line means? Many thanks

2001-09-05 Thread Alex Shi
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