PHP mysqli_connect_errno() Function

PHP mysqli_connect_errno() Returns the error code from the last connection call.

Syntax

mysqli_connect_errno() Function Parameter

ParameterDescription
NA :NA

mysqli_connect_errno() Function Return Value

Return Values :Return error code value for the last call. zero means no error occurred.

mysqli_connect_errno() Function Example