php mysqli_ connect_ Error () and mysqli_ connect_ The difference of errno() function

First let’s look at the official definition:

Grammatical definitions:
Definition:
> Mysqli_connect_error () : The function returns an error description of the last connection error.
> Mysqli_connect_errno () : The function returns the error code for the last connection error.

Note: One returns an error description and the other an error code.

Read More: