您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

sesam_field_name

(No version information available, might be only in CVS)

sesam_field_name — Return one column name of the result set

说明

int sesam_field_name ( string $result_id , int $index )

Gets the field name.

参数

result_id

A valid result id returned by sesam_query().

index

The column index is zero-based, not one-based as in SESAM.

返回值

Returns the name of a field in the result set, or FALSE on error.

For "immediate" queries, or for dynamic columns, an empty string is returned.

参见

  • sesam_field_array(). It provides an easier interface to access the column names and types, and allows for detection of "multiple fields".