<?php
class dbconnect {
protected $db_host = 'localhost';
protected $db_name = 'sblttweb_backend';
protected $db_user = 'root';
protected $db_pass = 'Newcafs_123*2018';
public function connect() {
$conn = mysql_connect($this->db_host,$this->db_user,$this->db_pass);
return mysql_select_db($this->db_name,$conn) or die("Please refresh this page!!");
}
}
?>