Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once("class_starten.php");
- class core {
- public $verbindung;
- private $host = "localhost";
- private $username = "root";
- public $password = "123kamil*A";
- private $datenbank = "testdb";
- public function __construct()
- {
- $this->verbindung = mysql_connect($this->host, $this->username, $this->password)or die (mysql_error());
- mysql_select_db($this->datenbank, $this->verbindung)or die (mysql_error());
- }
- }
- ?>
Add Comment
Please, Sign In to add comment