#------------------------------------------------------------------------------------- # REQUIRED FILES (require_once) # ---------------------------------------------- require_once("app/pod_merl.php"); #------------------------------------------------------------------------------------- # DECLARE CLASSES (OOP) # ---------------------------------------------- $class_DB = &New Database2(); $class_Data = &New GetData(); If($id){ $contents = $class_DB->db_query("SELECT * FROM hotels_sanfran WHERE ID=$id"); While ($myrow = mysql_fetch_array($contents)) { $hotel_name = $myrow['NAME']; $hotel_city = $myrow['ADDRTWO']; }} ?>