if($bol[$i]=='p.rno' || $bol[$i]=='s.x') { }

değerleri değiştir ben nokta koydum for() içine koy bu ifi