update : 2015.11.03
php.shukuma.com검색:
|
pg_result_error_field(PHP 5 >= 5.1.0) pg_result_error_field — Returns an individual field of an error report. 설명
string pg_result_error_field
( resource
$result
, int $fieldcode
)
pg_result_error_field() returns one of the detailed error message
fields associated with
Because pg_query() and pg_query_params() return If you need to get additional error information from failed pg_query() queries, use pg_set_error_verbosity() and pg_last_error() and then parse the result. 인수
반환값A string containing the contents of the error field, 예제
Example #1 pg_result_error_field() example
<?php |