php man page for fbsql_field_name

Query: fbsql_field_name

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

FBSQL_FIELD_NAME(3)							 1						       FBSQL_FIELD_NAME(3)

fbsql_field_name - Get the name of the specified field in a result

SYNOPSIS
string fbsql_field_name (resource $result, [int $field_index])
DESCRIPTION
Returns the name of the specified field index.
PARAMETERS
o $result - A result pointer returned by fbsql_list_fields(3). o $field_index - The numerical offset of the field. The field index starts at 0.
RETURN VALUES
Returns the name as a string, or FALSE if the field doesn't exist.
EXAMPLES
Example #1 fbsql_field_name(3) example <?php // The users table consists of three fields: // user_id // username // password. $res = fbsql_db_query("users", "select * from users", $link); echo fbsql_field_name($res, 0) . " "; echo fbsql_field_name($res, 2); ?> The above example will output: user_id password
SEE ALSO
fbsql_field_type(3). PHP Documentation Group FBSQL_FIELD_NAME(3)
Related Man Pages
fbsql_fetch_assoc(3) - php
mssql_field_name(3) - php
mysql_field_name(3) - php
pg_field_name(3) - php
pg_free_result(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
Rules for Homework &amp; Coursework Questions Forum
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Please Welcome Nicki Paul to the Moderator Team!