_CIBElement CIBlockResult::GetNextElement();
The method returns an instance of _CIBElement from the selection.
The method returns false when it reaches the last record or if the result contains no records.
<? $res = CIBlockElement::GetByID($_GET["PID"]); if ($obRes = $res->GetNextElement()) { $ar_res = $obRes->GetFields(); echo $ar_res['NAME']; } ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |