mysqli::$error
mysqli::$error
mysqli_error
(PHP 5, PHP 7)
mysqli::$error -- mysqli_error — Returns a string description of the last error
Description
Object oriented style
string $mysqli->error;
Procedural style
string mysqli_error ( mysqli $link )
Returns the last error message for the most recent MySQLi function call that can succeed or fail.