|
mysqli_stmt::result_metadatamysqli_stmt_result_metadata(PHP 5) mysqli_stmt::result_metadata -- mysqli_stmt_result_metadata — Returns result set metadata from a prepared statement ОписаниеОбъектно-ориентированный стиль
mysqli_result mysqli_stmt::result_metadata
( void
)
Процедурный стиль
mysqli_result mysqli_stmt_result_metadata
( mysqli_stmt $stmt
)
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()
Список параметров
Возвращаемые значенияReturns a result object or FALSE if an error occurred. ПримерыПример #1 Объектно-ориентированный стиль
<?php Пример #2 Процедурный стиль
<?php Смотрите также
|
|