Skip to content
Advertisement

Cannot terminate or close a PDO connection MySQL

The page seems to continue loading indefinitely event when the script reaches the end. How can I terminate the connection after breaking out of the PHP loop? I have set the $pdo and $usearch variables to null and reviewed other questions.

JavaScript

Advertisement

Answer

I moved to MySQLi:

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement