Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class db {
- public $conn;
- function __construct(){
- $this->conn = new mysqli('localhost:8889', 'whoishereuser', 'whoisherepass','whoishere');
- if($this->conn->connect_error){
- die('Connection Failed: ' . $this->conn->connect_error);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement