update : 2015.11.03
php.shukuma.com검색:
|
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 설명절차식 형식
resource maxdb_stmt_result_metadata
( resource
$stmt
)객체 기반 형식
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()
반환값
maxdb_stmt_result_metadata() returns a result resource or 예제
Example #1 객체 기반 형식
<?php Example #2 절차식 형식
<?php 위 예제의 출력 예시: Fieldname: ID 참고
|