← All docs

mysqli_error()

Returns the error message of the last call on a connection.

mysqli_error()

function mysqli_error(mixed $mysql): string

Returns the error message of the last call on a connection.

Parameters:

  • $mysql (mixed)

Returns: string

Availability

Compiled (AOT)Magician (eval)
AvailableNot available yet

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how mysqli_error is implemented in the compiler, see the internals page.