note 78223 added to function.mysql-connect

From: Date: Wed, 03 Oct 2007 15:17:42 +0000
Subject: note 78223 added to function.mysql-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-131039@lists.php.net to get a copy of this message
I am using the following code in the destructor: <? if(isset($mysql_connection)) { mysql_close($mysql_connection); unset($mysql_connection); } ?> So the warning will not occure(if multiple calls to destructor of the db class happen) and everything will be OK. http://www.lanix.org/ica/ ---- Server IP: 195.149.248.161 Probable Submitter: 88.80.140.163 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-connect.php Edit -- https://master.php.net/note/edit/78223 Del: integrated -- https://master.php.net/note/delete/78223/integrated Del: useless -- https://master.php.net/note/delete/78223/useless Del: bad code -- https://master.php.net/note/delete/78223/bad+code Del: spam -- https://master.php.net/note/delete/78223/spam Del: non-english -- https://master.php.net/note/delete/78223/non-english Del: in docs -- https://master.php.net/note/delete/78223/in+docs Del: other reasons-- https://master.php.net/note/delete/78223 Reject -- https://master.php.net/note/reject/78223 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#131039) next »