mixed CDBResult::FieldName( int column )
The method FieldName returns the name of a field by its ordinal.
| Parameter | Description | column | The field ordinal. |
|---|
Name of the field.
<?
$rs = $DB->Query($query,true);
$intNumFields = $rs->FieldsCount();
$i = 0;
while ($i<$intNumFields)
{
$arFieldName[] = $rs->FieldName($i);
$i++;
}
?>
| © 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |