
Druckansicht von http://www.php-homepage.de/manual/function.mysqli-stmt-error.php
mysqli_stmt_errormysqli_stmt->error(PHP 5) mysqli_stmt->error — Returns a string description for last statement error BeschreibungProcedural style:
string mysqli_stmt_error
( mysqli_stmt $stmt
)
Object oriented style (property): mysqli_stmt
string$error;
Returns a containing the error message for the most recently invoked statement function that can succeed or fail. RückgabewerteA string that describes the error. An empty string if no error occurred. BeispieleExample#1 Object oriented style
<?phpExample#2 Procedural style
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe:
|