PHP. Руководство по PHP. 2005
PDOStatement::errorInfo
PDOStatement::errorInfo
PDOStatement::errorInfo() returns an array of
error information about the last operation performed by this
statement handle. The array consists of the following fields:
| Element | Information |
|---|---|
| 0 | SQLSTATE error code (a five-character alphanumeric identifier defined
in the ANSI SQL standard). |
| 1 | Driver-specific error code. |
| 2 | Driver-specific error message. |
| PDO::errorCode() |
| PDO::errorInfo() |
| PDOStatement::errorCode() |
PDOStatement::errorCode
PDOStatement::execute
Отвечу на любые вопросы. С уважением, Дмитрий Владимирович.