|
mysqli_stmt::$errormysqli_stmt_errorReturns a string description for last statement error BeschreibungObjektorientierter Stil string$mysqli_stmt->error;
Prozeduraler Stil
string mysqli_stmt_error
( mysqli_stmt
$stmt
)Returns a string containing the error message for the most recently invoked statement function that can succeed or fail. Parameter-Liste
RückgabewerteA string that describes the error. An empty string if no error occurred. BeispieleBeispiel #1 Objektorientierter Stil
<?phpBeispiel #2 Prozeduraler Stil
<?phpDie obigen Bespiele erzeugen folgende Ausgabe: Error: Table 'world.myCountry' doesn't exist. Siehe auch
|