note 53904 deleted from function.mysqli-free-result by hholzgra

From: Date: Sat, 29 Sep 2007 10:54:51 +0000
Subject: note 53904 deleted from function.mysqli-free-result by hholzgra
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-130917@lists.php.net to get a copy of this message
Note Submitter: austregecilio at yahoo dot com dot br ---- Using mysqli_free_result in a class, should be like this: class db{ . . . public function db_free_res($obj){ mysqli_free_result($obj); } . . . } The code in .PHP file: $obj_con=new db; $res=$obj_con->db_query("select * from imgs"); $obj_con->db_free_res($res);

« previous php.notes (#130917) next »