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
What to Do When You Write SQL Syntax Incorrectly? Use PDO::errorCode to Pinpoint the Error
8
Database Connection Issues? Practical Tips to Check Exceptions Using PDO::errorCode
7
Similar Functions
PDO::beginTransaction
PDO::beginTransaction
Startatransaction
PDO::inTransaction
PDO::inTransaction
Checkifitisinsidethe
PDOStatement::nextRowset
PDOStatement::nextRowset
Advancetothenextrows
PDO::getAttribute
PDO::getAttribute
Retrievedatabaseconn
PDO::lastInsertId
PDO::lastInsertId
ReturnstheIDofthelas
PDOStatement::bindValue
PDOStatement::bindValue
Bindthevaluetothepar
PDOStatement::errorCode
PDOStatement::errorCode
GetstheSQLSTATEassoc
PDOStatement::fetchAll
PDOStatement::fetchAll
Returnsanarraycontai
Popular Articles
What to Do When You Write SQL Syntax Incorrectly? Use PDO::errorCode to Pinpoint the Error
Database Connection Issues? Practical Tips to Check Exceptions Using PDO::errorCode