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
PDOStatement::fetchAll
PDOStatement::fetchAll
Returnsanarraycontai
PDO::errorInfo
PDO::errorInfo
Getstheextendederror
PDOStatement::setFetchMode
PDOStatement::setFetchMode
Setthedefaultacquisi
PDO::getAttribute
PDO::getAttribute
Retrievedatabaseconn
PDOStatement::getAttribute
PDOStatement::getAttribute
Searchstatementprope
PDO::getAvailableDrivers
PDO::getAvailableDrivers
Returnanarrayofavail
PDOStatement::nextRowset
PDOStatement::nextRowset
Advancetothenextrows
PDO::lastInsertId
PDO::lastInsertId
ReturnstheIDofthelas
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