PHP Classes

Good, except one thing: The DB is left open! I have added thi...

Recommend this page to a friend!

      MySQL Queries with Conditions  >  All threads  >  Good, except one thing: The DB is...  >  (Un) Subscribe thread alerts  
Subject:Good, except one thing: The DB is...
Summary:Package rating comment
Messages:1
Author:Alekos Psimikakis
Date:2017-10-20 00:11:57
 

 

Alekos Psimikakis rated this package as follows:

Utility: Sufficient
Consistency: Not sure

  1. Good, except one thing: The DB is...   Reply   Report abuse  
Picture of Alekos Psimikakis Alekos Psimikakis - 2017-10-20 00:11:57
Good, except one thing: The DB is left open! I have added this function at the end:
public function close() {
mysqli_close($this->link);
}
so that the caller is able to close it: $db->close();
The class is quite rich in functions, most of which I have not checked. So I used "Not sure" for Consistency.

 
For more information send a message to info at phpclasses dot org.