php : is this if condition correct?
- by phill
I have the following if condition statement
if ( (strlen($data[70])>0) || ( (remove19((trim($data[29])) == '7135556666')) && isLongDistance($data[8])) )
where $data is a recordset from a database.
My goal is to include all rows where $data[70] isn't blank, and also include rows where $data[29] = 713555666 && $data[8] isLongDistance = TRUE
My question is, if isLongDistance($data[8]) returns false, will it still return the row since $data[70] is not blank?
thanks in advance