update : 2015.11.03
php.shukuma.com검색:
|
maxdb_errnomaxdb::errno(PECL maxdb >= 1.0) maxdb_errno -- maxdb::errno — Returns the error code for the most recent function call 설명절차식 형식
int maxdb_errno
( resource
$link
)객체 기반 형식 int $maxdb->errno;
The maxdb_errno() function will return the last error code for
the most recent MaxDB function call that can succeed or fail with respect to the
database link defined by the 반환값An error code value for the last call, if it failed. zero means no error occurred. 예제Example #1 객체 기반 형식
<?php Example #2 절차식 형식
<?php 위 예제의 출력 예시: PHP Warning: maxdb_query(): -4005 POS(8) Unknown column name:XXX [42000] <...> Errorcode: -4005 참고
|