closed MySQL connection in footer.inc.php3

This commit is contained in:
Loïc Chapeaux
2001-10-27 13:33:33 +00:00
parent 4f6a7b63d5
commit e05b6a578e
2 changed files with 13 additions and 3 deletions

View File

@@ -4,6 +4,16 @@
// In this file you may add PHP or HTML statements that will be used to define
// the footer for phpMyAdmin pages.
/**
* Close MySql connections
*/
if (isset($dbh) && $dbh) {
mysql_close($dbh);
}
if (isset($userlink) && $userlink) {
mysql_close($userlink);
}
?>
</body>