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::inTransaction
PDO::inTransaction
Checkifitisinsidethe
PDOStatement::rowCount
PDOStatement::rowCount
Returnsthenumberofro
PDOStatement::setAttribute
PDOStatement::setAttribute
Setstatementproperti
PDO::errorCode
PDO::errorCode
GetstheSQLSTATEassoc
PDO::__ construct
PDO::__ construct
CreateaPDOinstanceth
PDO::getAttribute
PDO::getAttribute
Retrievedatabaseconn
PDO::errorInfo
PDO::errorInfo
Getstheextendederror
PDO::quote
PDO::quote
Addquotestostringsin
Popular Articles
Database Connection Issues? Practical Tips to Check Exceptions Using PDO::errorCode
What to Do When You Write SQL Syntax Incorrectly? Use PDO::errorCode to Pinpoint the Error