mixed CIBlockResult::GetNext();
Returns an array of field values converted to an HTML safe format. Variables #IBLOCK_ID#
etc. are replaced with their corresponding values in fields LIST_PAGE_URL and
DETAIL_PAGE_URL, so these fields will contain valid links.
The method returns false when it reaches the last record or if the result contains no records.
<? $res = CIBlockElement::GetByID($_GET["PID"]); if ($ar_res = $res->GetNext()) echo '<a href="'.$ar_res['detail_page_url'].'">'.$ar_res['name'].'</a>'; ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |