mixed CDBResult::GetNext( bool text_html=true, bool original=true )
The method GetNext returns an array of field values converted to the HTML safe format.
Parameter | Description |
---|---|
text_html | If set to true, the method will automatically handle fields that allow for different formats for storing data (text / html). Optional; true by default. |
original | If set to true, the returned array also contains original field values; these fields can be accessed by keys with suffix "~" appended to original key names. Optional; true by default. |
The method returns false if there is no more records to return, or the array otherwise.
<select> <? $rs = CGroup::GetList($order="ID", $by="ASC"); while ($arGroup=$rs->GetNext()) : ?><option value="<?=$arGroup["ID"]?>" <?if (IntVal($arGroup["ID"])==IntVal($show_perms_for)) echo " selected";?> ><?=$arGroup["NAME"]?></option><? endwhile; ?> </select>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |