General Introduction
Features
Settings
Email system
Date and Time
URL rewrite
Special constants
Special variables
Complex logic in filter
AffectedRowsCount
ExtractFields
Fetch
FieldName
FieldsCount
GetNext
GetPageNavString
GetPageNavStringEx
InitFromArray
IsNavPrint
NavNext
NavPrint
NavStart
NavStringForCache
SelectedRowsCount
FieldsCount
int CDBResult::FieldsCount()
This method returns number of fields of the retrieval result. Non-static method.
Parameters
No parameters.See also
Примеры использования
<? $rs = $DB->Query($query,true); $intNumFields = $rs->FieldsCount(); $i = 0; while ($i < $intNumFields) { $arFieldName[] = $rs->FieldName($i); $i++; } ?>
© «Bitrix24», 2001-2024
Up