E
E
Evgenii Borovoi2021-07-25 16:31:07
PHP
Evgenii Borovoi, 2021-07-25 16:31:07

Why might PDO (php 5.3) not throw errors?

The basis correctly writes if the correct request. If the request is in error, both
errorCode() and errorInfo() return zeros (same as with correct notation):
Array
(
[0] => 00000
)
Where to look? Is it possible to fix without getting into the ini file of the server?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Slava Rozhnev, 2021-07-25
@EugeneOne77

PDO Errors and their handling

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question