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
Similar Functions
PDO::setAttribute
PDO::setAttribute
Setproperties
PDOStatement::rowCount
PDOStatement::rowCount
Returnsthenumberofro
PDOStatement::fetchObject
PDOStatement::fetchObject
Getthenextlineandret
PDOStatement::fetchAll
PDOStatement::fetchAll
Returnsanarraycontai
PDOStatement::columnCount
PDOStatement::columnCount
Returnsthenumberofco
PDOStatement::bindValue
PDOStatement::bindValue
Bindthevaluetothepar
PDO::quote
PDO::quote
Addquotestostringsin
PDOStatement::errorInfo
PDOStatement::errorInfo
Getstheextendederror
Popular Articles
What to Do When You Write SQL Syntax Incorrectly? Use PDO::errorCode to Pinpoint the Error