maxdb_stmt_result_metadata(PECL maxdb:1.0-7.6.00.38) maxdb_stmt_result_metadata — Returns result set metadata from a prepared statement ОписаниеProcedural style:
resource maxdb_stmt_result_metadata
( resource $stmt
)
Object oriented style (method): stmt
resource 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()
Возвращаемые значенияmaxdb_stmt_result_metadata() returns a result resource or FALSE if an error occured. Примеры
Пример #1 Object oriented style
<?phpПример #2 Procedural style
<?phpРезультатом выполнения данного примера будет что-то подобное:
|
|
|
| © 2009 Тест скорости интернета | Boont.Ru |