|
mysql_fetch_fieldGet column information from a result and return as an object Warning
This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide and related FAQ for more information. Alternatives to this function include:
Description
object mysql_fetch_field
( resource
$result
[, int $field_offset = 0
] )Returns an object containing field information. This function can be used to obtain information about fields in the provided query result. Parameters
Return ValuesReturns an object containing field information. The properties of the object are:
Examples
Example #1 mysql_fetch_field example
<?php Notes
See Also
|