Oracle 5.0 Reference Manual page 2294

Table of Contents

Advertisement

result
field_offset
Return Values
Returns
TRUE
See Also
mysql_fetch_field
20.7.2.5.23.
mysql_field_table
Copyright 1997-2012 the PHP Documentation Group. [2230]
mysql_field_table
Get name of the table the specified field is in
Description
string mysql_field_table(
resource result,
int field_offset);
Returns the name of the table that the specified field is in.
Parameters
result
field_offset
Return Values
The name of the table on success.
Examples
Example 20.51. A
<?php
$query = "SELECT account.*, country.* FROM account, country WHERE country.name = 'Portugal' AND account.cou
// get the result from the DB
Original MySQL API (Mysql)
The result resource that is being evaluated. This result comes from
a call to mysql_query.
The numerical field offset. The
field_offset
issued.
on success or
on failure.
FALSE
Warning
This extension is deprecated as of PHP 5.5.0, and will be removed in the
future. Instead, the
MySQLi
also
MySQL: choosing an API
Alternatives to this function include:
mysqli_fetch_field_direct
PDOStatement::getColumnMeta
The result resource that is being evaluated. This result comes from
a call to mysql_query.
The numerical field offset. The
field_offset
issued.
mysql_field_table
field_offset
does not exist, an error of level
or
PDO_MySQL
extension should be used. See
guide and
related FAQ
[table] or [orgtable]
[table]
field_offset
does not exist, an error of level
example
2274
starts at 0. If
is also
E_WARNING
for more information.
starts at 0. If
is also
E_WARNING

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents