Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CModule::IncludeModule('iblock');
- $res = CIblockElement::GetList(array(),array('IBLOCK_ID' => 4, 'ACTIVE' => 'Y'));
- $i = 0;
- while($ob = $res->GetNext())
- $i++;
- echo $i;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement