update : 2015.11.03
php.shukuma.com검색:
|
mysqli::$errnomysqli_errno(PHP 5) mysqli::$errno -- mysqli_errno — Returns the error code for the most recent function call 설명객체 기반 형식 int $mysqli->errno;
절차식 형식 Returns the last error code for the most recent MySQLi function call 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 for the last call, if it failed. zero means no error occurred. 예제Example #1 $mysqli->errno example 객체 기반 형식
<?php 절차식 형식
<?php 위 예제들의 출력: Errorcode: 1193 참고
|