<?php require_once("Host_conf.php"); require_once("mysql_conn.php"); $Conn = new MySQL_Conn(); $Conn->host = __HOST; $Conn->user = __USER; $Conn->pwd = __PASS; $conn = $Conn->open_conn(); // we must save mysql resource connection on the var $conn $Conn->select_db(__DB); ?>