PHP mysqli is NOT trapping some errors when calling stored procedure
Venkat Hariharan <[email protected]> Tue, 12 Feb 2019 21:37:44 +0530
| Newsgroups | gmane.comp.php.database |
|---|---|
| Message-ID | <CADL+xkgUerFrrGzaTk43FJ8F0ra+kU77BqLyJ+_XHgiR=fLPNA@mail.gmail.com> |
--000000000000d52fd20581b4a03a Content-Type: text/plain; charset="UTF-8" Can you take a look at the issue that I've described at https://stackoverflow.com/questions/54643704/php-mysqli-is-not-trapping-some-errors-when-calling-stored-procedure and tell me what I am missing in my PHP code ? To summarize: I am calling a MySQL stored procedure from PHP that does some DMLs (using mysqli). But the problem is that PHP is not able to get intimated of some database error conditions raised by the stored proc (which I know are raised, bcoz they do get flagged when invoked from a mysql client) I've listed the relevant code fragments there. Am I not using mysqli correctly? Thanks, Venkat --000000000000d52fd20581b4a03a--