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::setFetchMode
PDOStatement::setFetchMode
Setthedefaultacquisi
PDOStatement::fetchAll
PDOStatement::fetchAll
Returnsanarraycontai
PDOStatement::nextRowset
PDOStatement::nextRowset
Advancetothenextrows
PDO::getAvailableDrivers
PDO::getAvailableDrivers
Returnanarrayofavail
PDO::exec
PDO::exec
ExecuteSQLstatementa
PDOStatement::fetchObject
PDOStatement::fetchObject
Getthenextlineandret
PDOStatement::closeCursor
PDOStatement::closeCursor
Closethecursorsothat
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