update : 2015.11.03
php.shukuma.com검색:
|
mysqli_result::fetch_fieldmysqli_fetch_field(PHP 5) mysqli_result::fetch_field -- mysqli_fetch_field — Returns the next field in the result set 설명객체 기반 형식
object mysqli_result::fetch_field
( void
)
절차식 형식 Returns the definition of one column of a result set as an object. Call this function repeatedly to retrieve information about all columns in the result set. 반환값
Returns an object which contains field definition information or
예제Example #1 객체 기반 형식
<?php Example #2 절차식 형식
<?php 위 예제들의 출력: Name: Name Table: Country max. Len: 11 Flags: 1 Type: 254 Name: SurfaceArea Table: Country max. Len: 10 Flags: 32769 Type: 4 참고
|