|
mysqli_stmt::result_metadatamysqli_stmt_result_metadataReturns result set metadata from a prepared statement DescriptionObject-oriented style
public mysqli_resultfalse mysqli_stmt::result_metadata()
Procedural style mysqli_resultfalse mysqli_stmt_result_metadata(mysqli_stmt
$statement )If a statement passed to mysqli_prepare is one that produces a result set, mysqli_stmt_result_metadata returns the result object that can be used to process the meta information such as total number of fields and individual field information.
The result set structure should be freed when you are done with it, which you can do by passing it to mysqli_free_result
Parameters
Return Values
Returns a result object or Errors/Exceptions
If mysqli error reporting is enabled ( ExamplesExample #1 Object-oriented style
Example #2 Procedural style
See Also
|