Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
PDO::errorCode
PDO::errorCode
Gets the SQLSTATE associated with the last operation on the database handle
Name:
PDO::errorCode
Category:
PDO
Programming Language:
php
One-line Description:
Gets the SQLSTATE associated with the last operation on the database handle
Related
How to Use PDO::errorCode and PDO::setAttribute Functions to Adjust PDO Error Handling Modes?
4
How to Provide Error Messages When a Query Fails? Improve User Experience with PDO::errorCode and PDOStatement::fetch
8
How to Reliably Determine If a Database Operation Was Truly Successful When PDO::errorCode Returns '00000'
3
Similar Functions
PDO::errorInfo
PDO::errorInfo
Getstheextendederror
PDO::query
PDO::query
ExecuteSQLstatements
PDO::lastInsertId
PDO::lastInsertId
ReturnstheIDofthelas
PDO::rollBack
PDO::rollBack
Rollbacktransactions
PDOStatement::getColumnMeta
PDOStatement::getColumnMeta
Returnsmetadatainthe
PDOStatement::errorCode
PDOStatement::errorCode
GetstheSQLSTATEassoc
PDOStatement::bindValue
PDOStatement::bindValue
Bindthevaluetothepar
PDO::quote
PDO::quote
Addquotestostringsin
Popular Articles
How to Reliably Determine If a Database Operation Was Truly Successful When PDO::errorCode Returns '00000'
How to Use PDO::errorCode and PDO::setAttribute Functions to Adjust PDO Error Handling Modes?
How to Provide Error Messages When a Query Fails? Improve User Experience with PDO::errorCode and PDOStatement::fetch