September 2001
Intermediate to advanced
768 pages
32h 45m
English
mysql result mysql_list_fields (string database, string table, [mysql link connection])
| database | Database to use |
| table | Table to use |
| connection | Connection handle returned by mysql_connect() or mysql_pconnect() |
Fetches information about the fields in a table.
Returns:
MySQL result handle; FALSE on error
Description:
mysql_list_fields() retrieves information about the fields in the specified table and returns a MySQL result handle that can be used with mysql_field_flags(), mysql_field_len(), mysql_field_name(), and mysql_field_type(). If the connection argument is not set, the last connection opened is used by default. If no connection is open, mysql_list_fields() attempts to connect to a MySQL database by calling mysql_connect() ...
Read now
Unlock full access