<?
require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");
if (CModule::IncludeModule('form'))
{
$rsRes = CFormResult::GetList(
29,
($by = "ID"),
($order = "desc"),
array(),
($is_filtered = false),
"N",
1
);
$arRes = $rsRes->Fetch();
$RESULT_ID = $arRes["ID"];
....
|