[php-src] Issue #8249: PHP Fatal error: Uncaught mysqli_sql_exception: Duplicate column name
| From: | Gilmar-Conectar | Date: | Fri, 25 Mar 2022 13:44:27 +0000 |
| Subject: | [php-src] Issue #8249: PHP Fatal error: Uncaught mysqli_sql_exception: Duplicate column name | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240496@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8249
Comment Author: Gilmar-Conectar
Thanks
I'm testing my complete application in PHP 8.1.4, there are some problems and I'm
adjusting.
Another issue that I'm having a lot of difficulty solving is the SELECT result from the
database.
As various functions and other PHP processes are testing types, and the result of SELECT is always
STRING, a comparisonof a numerical result, it is generating problems in case of NULL return, so I
reported that it would be complicated to solve the issue.
Em sexta-feira, 25 de março de 2022 10:20:26 BRT, Kamil Tekiela ***@***.***> escreveu:
Unfortunately, this is not a bug. I must close this report as invalid.
You can disable mysqli error reporting if you really wish so, or you can just catch the exception
and handle it however you want. It's a standard PHP behaviour. Take a look at the documentation
https://www.php.net/manual/en/mysqli-driver.report-mode.php
Here is a helpful guy written by one of PHP users: https://phpdelusions.net/mysqli/error_reporting
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>