September 2001
Intermediate to advanced
768 pages
32h 45m
English
int mysql_field_len(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 maximum length of the specified column in a result set.
Returns:
Integer; FALSE on error
Description:
mysql_field_len() reports the maximum length of the specified field in a result set returned by mysql_db_query() or mysql_query(). The field_offset argument specifies the desired column. The field offset starts at 0.
For BLOB, CHARACTER, DATE, ENUM, and NUMERIC field types, the number returned is the maximum number of bytes that can occupy a field. For SET type columns, the length of the column is equivalent to each element in the SET column ...
Read now
Unlock full access