Bitrix Site Manager

CFormAnswer::GetByID

CDBResult
CFormAnswer::GetByID(
 int answer_id
)

The method GetByID returns the answer parameters as the CDBResult instanse.

Parameters

Parameter Description
answer_id The answer ID.

See Also

Example



<?
$answer_id = 589; // The answer ID
$rsAnswer = CFormAnswer::GetByID($answer_id);
$arAnswer = $rsAnswer->Fetch();
echo "<pre>"; print_r($arAnswer); echo "</pre";
?>