| Viewed 117 times

How to close MySQL connection


How I can close MySQL connection

1 Answer
Mohammad Qandeel
Answered
14

In PHP the connection will be closed automatically when the script ends. but if you need to close the connection before you can use MySQLi Procedural: 

mysqli_close($conn);
 
 


Related Questions