<?$arSelect = Array("ID","PROPERTY_TIME");$arFilter = Array("IBLOCK_ID"=>34);$res = CIBlockElement::GetList(Array(), $arFilter, false, Array("nPageSize"=>550), $arSelect);while($ob = $res->GetNextElement()){ $arFields = $ob->GetFields();
echo ($arFields[PROPERTY_TIME_VALUE]).", ";
}?>
$arSelect = Array("ID","PROPERTY_TIME");
$arFilter = Array("IBLOCK_ID"=>34);
$res = CIBlockElement::GetList(Array(), $arFilter, false, Array("nPageSize"=>550), $arSelect);
while($ob = $res->GetNextElement()){
$arFields = $ob->GetFields();
if( !empty($arFields["PROPERTY_TIME_VALUE"]) )
echo ($arFields["PROPERTY_TIME_VALUE"]).", ";
// или:
// if( empty($arFields["PROPERTY_TIME_VALUE"]) ) continue;
// echo ($arFields["PROPERTY_TIME_VALUE"]).", ";
}