编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « odbc_field_len
  • odbc_field_num »
  • PHP Manual
  • ODBC 函数
  • Get the columnname

odbc_field_name

(PHP 4, PHP 5, PHP 7)

odbc_field_name — Get the columnname

说明

odbc_field_name ( resource $result_id , int $field_number ) : string

Gets the name of the field occupying the given column number in the given result identifier.

参数

result_id

The result identifier.

field_number

The field number. Field numbering starts at 1.

返回值

Returns the field name as a string, or FALSE on error.

相关文章
php odbc 函数 toggle autocommit behaviourphp odbc 函数 handling of binary column dataphp odbc 函数 close all odbc connectionsphp odbc 函数 get the last error messagephp odbc 函数 prepare and execute an sql statementphp odbc 函数 execute a prepared statementphp odbc 函数 fetch a result row as an associative arrayphp odbc 函数 fetch one result row into arrayphp odbc 函数 fetch a result row as an objectphp odbc 函数 fetch a rowphp odbc 函数 get the columnnamephp odbc 函数 handling of long columnsphp odbc 函数 checks if multiple results are availablephp odbc 函数 number of columns in a resultphp odbc 函数 number of rows in a resultphp odbc 函数 open a persistent database connectionphp odbc 函数 prepares a statement for executionphp odbc 函数 gets the primary keys for a tablephp odbc 函数 get the list of table names stored in a specific data sourcephp odbc odbc 函数
关注编程学问公众号
编程学问网 湘ICP备20001732号