Цитата |
---|
Александр Андреев пишет: Смотрите по структуре массива $arResult['ITEMS'][ИД_Свойства]['VALUES']['ИД_ЗначенияСвойства']["CONTROL_ID"] |
Код |
---|
<select onChange="smartFilter.click(this)" class="custom_select" style="display: none;">
<? foreach($arResult['ITEMS'][1]['VALUES'] as $Pod){
$idPod[] = $Pod['VALUE'];
$id[] = $Pod['CONTROL_ID'];
$RowCount = count($idPod);
$Rowmy = count($id);
}?>
<? for($x=0, $y=0; $x<$RowCount, $y<$Rowmy; $x++, $y++){?>
<option id="<?=$id[$y]?>"><?=$idPod[$x]?></option>
<? ;}?>
</select>
|
передал, но что то не идет:(