Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class DB {
- private $host = "localhost";
- private $dbuser = "markol";
- private $dbpass = "123456ht";
- private $dbname = "test";
- function connect() {
- $connect_db = new mysqli( $this->host, $this->dbuser, $this->dbpass, $this->dbname );
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement