update : 2015.11.03
php.shukuma.com검색:
|
mysqli_stmt::$errnomysqli_stmt_errno(PHP 5) mysqli_stmt::$errno -- mysqli_stmt_errno — Returns the error code for the most recent statement call 설명객체 기반 형식 int $mysqli_stmt->errno;
절차식 형식 Returns the error code for the most recently invoked statement function that can succeed or fail. Client error message numbers are listed in the MySQL errmsg.h header file, server error message numbers are listed in mysqld_error.h. In the MySQL source distribution you can find a complete list of error messages and error numbers in the file Docs/mysqld_error.txt. 반환값An error code value. Zero means no error occurred. 예제Example #1 객체 기반 형식
<?php Example #2 절차식 형식
<?php 위 예제들의 출력: Error: 1146. 참고
|