mysql_field_len(result,offset)

Description: Returns the length of a specified field in a result.

After calling mysql_list_fields(), mysql_query(), or another function that returns a resource identifier given by result, mysql_field_len() returns the length of a given field indexed by offset.

Example:

$result = mysql_list_fields ("cms", "subscribers");
$length = mysql_field_len ($result, 0);  // offset of 0 means the first column
echo "$length<BR>
";

See also: mysql_field_flags(), mysql_field_name(), mysql_field_type(), mysql_list_fields()

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.17.78.157