Closing Objects "Cleaning Up"

From: Date: Thu, 01 Feb 2001 22:28:28 +0000
Subject: Closing Objects "Cleaning Up"
Groups: php.general 
Request: Send a blank email to php-general+get-37733@lists.php.net to get a copy of this message
When I do this: $link = @mysql_pconnect("localhost", $this->db_user_id, $this->db_passwd); And I do this: if(!($result = mysql_query($querystr))) { ... Then I do this: $result = DoQuery($q); What objects are there to close? In ASP we issue code like this to close these objects: rs.close set rs = nothing db.close set db = nothing (where rs is the recordset and db is the database) Thank You!

« previous php.general (#37733) next »