Advertisement
Guest User

Untitled

a guest
Nov 15th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1. class databaseConnection {
  2.     private $host = 'localhost';
  3.     private $database = 'xxxx';
  4.     private $username = 'xxxx';
  5.     private $password = 'xxxx';
  6.     public $mysqli;
  7.    
  8.     public function __CONSTRUCT() {
  9.         $this->mysqli = new mysqli($this->host,$this->username,$this->password,$this->database);
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement