September 2001
Intermediate to advanced
768 pages
32h 45m
English
string mysql_field_table(mysql result result_handle, int field_offset)
| result_handle | Result handle returned by mysql_db_query() or mysql_query() |
| field_offset | Field offset to use |
Gets the name of the table to which the specified field belongs.
Returns:
String; FALSE on error
Description:
mysql_field_table() returns the name of the table containing the field specified by field_offset .
Version:
PHP 3+, PHP 4+
See also:
To find the number of rows affected by a query:
mysql_num_rows()
Example:
<?php // Included code that connects to a MySQL server and sets a default database // See the MySQL Functions chapter introduction for the source code for the file include ('mysql_connect.inc.php'); ... |
Read now
Unlock full access