Цитата |
---|
Артур Глазов пишет:
$arFilter = Array('IBLOCK_ID'=>"1", 'CODE'=>$_REQUEST["NAME"]); $db_list = CIBlockSection::GetList(Array($by=>$order), $arFilter, true); |
Код |
---|
$arFilter = Array('IBLOCK_ID'=>"1", '=CODE'=>$_REQUEST["NAME"]); $db_list = CIBlockSection::GetList(Array($by=>$order), $arFilter, false); [/QUOTE] |
Код |
---|
<?if (CModule::IncludeModule("iblock")) { $arFilter = Array('IBLOCK_ID'=>"1", '=CODE'=>$_REQUEST["NAME"]); $db_list = CIBlockSection::GetList(Array($by=>$order), $arFilter, false); while($ar_result = $db_list->Fetch()) { } $intCount = CIBlockSection::GetCount(array('IBLOCK_ID' => "1",'SECTION_ID' => $ar_result['ID'])); echo $intCount; } ?> |