Closing Databases

From: Date: Wed, 14 Feb 2001 16:46:32 +0000
Subject: Closing Databases
Groups: php.general 
Request: Send a blank email to php-general+get-39666@lists.php.net to get a copy of this message
I am making ODBC connections and MySQL connections, and want to make sure I'm closing my connection properly. Someone once replied that you do not need to worry about terminating the query set (for MySQL), that PHP takes care of this for you, is this true for the ODBC connection as well? So what I am doing, is making a connection to the db, querying the db using select statements, and then releasing the db connection with: mysql_close or odbc_close. Is that good enough? Thanks! Karl

« previous php.general (#39666) next »