$el = new CIBlockElement;
$PROP = array();
$PROP['best_person'] = $arProp[0];
$PROP['best_photo'] = $arProp[1];
$PROP['best_comment'] = $arProp[2];
$PROP['best_result'] = intval($arProp[3])+1;
$arLoadProductArray = Array(
"IBLOCK_ID" => 43,
"PROPERTY_VALUES"=> $PROP,
);
$res = $el->Update($value, $arLoadProductArray);
|