|
maxdb_stmt_errormaxdb_stmt::errorReturns a string description for last statement error BeschreibungProzeduraler Stil
string maxdb_stmt_error
( resource
$stmt
)Objektorientierter Stil string$maxdb_stmt->error;
For the statement specified by stmt, maxdb_stmt_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. BeispieleBeispiel #1 Objektorientierter Stil
<?phpBeispiel #2 Prozeduraler Stil
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: Warning: maxdb_stmt_execute(): -4004 POS(23) Unknown table name:MYCITY [42000] <...> Error: POS(23) Unknown table name:MYCITY. Siehe auch
|