コード例 #1
0
 function __construct()
 {
     require_once "include/connect.php";
     $db = new connect();
     //instance of the class connect
     $this->conn = $db->db_connect();
     //connecting to the databse using $conn
 }