Reply to Re: Evaluating array and skipping certain results
Posted by Daniel Tryba on 05/21/05 06:12
NC <nc@iname.com> wrote:
> if (arrayData[2] == '00') {
> if (arrayData[2] <> '00') {
A recipie for disaster. If $arrayData[2] equals '0' this evalutates to
true and false resp. If OP really wants to check for '00' he should use
strcmp, === (or !==).