update : 2015.11.03
php.shukuma.com검색:
|
maxdb_errormaxdb::error(PECL maxdb >= 1.0) maxdb_error -- maxdb::error — Returns a string description of the last error 설명절차식 형식
string maxdb_error
( resource
$link
)객체 기반 형식 string $maxdb->error;
The maxdb_error() function is identical to the corresponding
maxdb_errno() function in every way, except instead of returning
an integer error code the maxdb_error() function will return
a string representation of the last error to occur for the database connection
represented by the 반환값A string that describes the error. An empty string if no error occurred. 예제Example #1 객체 기반 형식
<?php Example #2 절차식 형식
<?php 위 예제의 출력 예시: PHP Warning: maxdb_query(): -4005 POS(8) Unknown column name:XXX [42000] Errormessgae: POS(8) Unknown column name:XXX 참고
|