Advertisement
uzimane_

Untitled

Jan 19th, 2022
829
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $arSelect = Array("ID", "NAME");
  2. $arFilter = Array("ID"=>"370");
  3.  
  4. $res = CIBlockElement::GetList(Array(), $arFilter, false, Array("nPageSize"=>50), $arSelect);
  5.  
  6. while($ob = $res->GetNextElement())
  7. {
  8.     $arFields = $ob->GetFields();
  9.     $arFields = CUser::GetByID(intval($arFields["ID"]));
  10.     var_dump($arFields->Fetch());
  11. }
  12.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement