mysql_field_len(result_id, field_position)
This function returns the length of the specified field (field_position) in a result set (result_id).
The function name mysql_fieldlen may also be used, but is deprecated.