PHP » GoLang |
login |
register |
about
|
GoLang maxdb_stmt_result_metadata
request it (417)
GoLang replacement for PHP's maxdb_stmt_result_metadata
[edit | history]
PHP maxdb_stmt_result_metadataPHP original manual for maxdb_stmt_result_metadata [ show | php.net ]maxdb_stmt_result_metadatamaxdb_stmt::result_metadata(PECL maxdb >= 1.0) maxdb_stmt_result_metadata -- maxdb_stmt::result_metadata — Returns result set metadata from a prepared statement DescriptionProcedural style
resource maxdb_stmt_result_metadata
( resource
$stmt
)Object oriented style
resource maxdb_stmt::result_metadata
( void
)
If a statement passed to maxdb_prepare() is one that produces a result set, maxdb_stmt_result_metadata() returns the result resource 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 maxdb_free_result()
Return Values
maxdb_stmt_result_metadata() returns a result resource or Examples
Example #1 Object oriented style
<?php Example #2 Procedural style
<?php The above example will output something similar to: Fieldname: ID See Also
|
more
Recently updated
more
Most requested
more
Last requests
|