string $mysqli->error;
string mysqli_error ( mysqli $link )
The mysqli_error() function returns the last error description for the most recent function call, if any.
Returns the last error message for the most recent MySQLi function call that can succeed or fail.
Errormessage: Unknown system variable 'a'
Parameter | Description |
---|---|
link | Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init() |
A string that describes the error. An empty string if no error occurred.