|
mysql_field_typeGet the type of the specified field in a result Warning
This extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0. Instead, the MySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide. Alternatives to this function include:
Description
string mysql_field_type(resource
$result , int $field_offset )mysql_field_type is similar to the mysql_field_name function. The arguments are identical, but the field type is returned instead. Parameters
Return Values
The returned field type
will be one of Examples
Example #1 mysql_field_type example
The above example will output something similar to: Your 'func' table has 4 fields and 1 record(s) The table has the following fields: string name 64 not_null primary_key binary int ret 1 not_null string dl 128 not_null string type 9 not_null enum Notes
See Also
|