编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 函数 connect to a datasourcephp odbc 函数 get cursornamephp odbc 函数 returns information about a current connectionphp odbc 函数 别名 odbc execphp odbc 函数 get the last error codephp odbc 函数 get the last error messagephp odbc 函数 prepare and execute an sql statementphp odbc 函数 get the columnnamephp odbc 函数 get the scale of a fieldphp odbc 函数 datatype of a fieldphp odbc 函数 retrieves a list of foreign keysphp odbc 函数 free resources associated with a resultphp odbc 函数 retrieves information about data types supported by the data sourcephp odbc 函数 handling of long columnsphp odbc 函数 rollback a transactionphp odbc 函数 adjust odbc settingsphp odbc 函数 retrieves special columnsphp odbc 函数 retrieve statistics about a tablephp odbc 函数 lists tables and the privileges associated with each tablephp odbc 函数 get the list of table names stored in a specific data source
关注编程学问公众号
编程学问网 湘ICP备20001732号