Close A Databse Connection

From: Date: Fri, 26 Jul 2002 19:22:05 +0000
Subject: Close A Databse Connection
Groups: php.general 
Request: Send a blank email to php-general+get-109855@lists.php.net to get a copy of this message
Well, it's Friday afternoon and the pre-pub run debates have started :^] The choice of arguement today is born of the fact that I advised a newbie to always use mysql_close() to close the connection to the database. It's good form and will cover any ills where the database connection fails to close for some other reason (say the user stops the page from loading after the connection is made). I know that it is not required, but always being competitive I thought I would turn to the group for a concensus, whether I am right or wrong. Thoughts? Jay

« previous php.general (#109855) next »