$section_id = $_GET['SECTION_ID']; $filter = Array("PROPERTY_SECTION_NUMBER"=>$section_id); $res = CIBlockElement::GetList(Array("SORT"=>"ASC"),$filter); while($ar_fields = $res->GetNext()) { echo $ar_fields["ID"]."<br>"; }