mysqli_errno
Returns the error code for the most recent function call
Description
intmysqli_errno
resourcelink
The mysqli_errno function will return the last error code for
the most recent MySQLi function call that can succeed or fail with respect to the
database link defined by the link parameter. If no errors
have occured, this function will return zero.
A complete list of the error codes and their meanings can be found in the constants
section of the MySQLi documentation
See also mysqli_error.