setQuery("SELECT * FROM `wheretrfstep` WHERE `wheretrfstep`.idtrf='$idtrf'"); $checkwherestep->execute();?> setQuery("SELECT * FROM certificationtype WHERE certificationtype.idcertificationtype='$idcertn'"); $certstep->execute(); $stepscertif=$certstep->getColumnVal("leftmenulist"); $stepscertif=explode(",",$stepscertif); ?> atEnd()) { $wa_startindex = $checkwherestep->Index; ?>getColumnVal("code"); ?> moveNext(); } $checkwherestep->moveFirst(); //return RS to first record unset($wa_startindex); unset($wa_repeatcount); ?>