Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Database
- {
- private $host;
- private $user;
- private $pass;
- private $db;
- protected function connectDatabase()
- {
- $this->host = '185.91.116.73';
- $this->user = '4820_luk';
- $this->pass = ':)';
- $this->db = '4820_luk';
- $mysqli = new mysqli($this->host, $this->user, $this->pass, $this->db) or die($mysqli->error);
- return $mysqli;
- }
- }
- ?>
Add Comment
Please, Sign In to add comment