|
maxdb_stmt_errnomaxdb_stmt::errnoReturns the error code for the most recent statement call BeschreibungProzeduraler Stil
int maxdb_stmt_errno
( resource
$stmt
)Objektorientierter Stil int$maxdb_stmt->errno;
For the statement specified by stmt, maxdb_stmt_errno returns the error code for the most recently invoked statement function that can succeed or fail.
RückgabewerteAn error code value. Zero means 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: -4004. Siehe auch
|