http://qs1969.pair.com?node_id=57226


in reply to && and ne

Try using brackets to define the way you want that statement evaluated more precisely:
if (($myrowidarray[$myint] ne "del") && ($myrowidarray[$myint] ne "cal +"))
Update: well it seems that 'ne' has a higher precedence than '&&', so the above code should work. I tend to use brackets out of habit anyway, as they make the code easier to read.