Disconnecting from the Database
•
Once all work has been completed, you must
disconnect from the database
•
Frees any used database and system resources
•
Achieved by calling
disconnect
()
against a valid
database handle. For example:
$dbh->disconnect();
DBI: The Neophyte's Guide
35