Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $host = "localhost";
- $user = "root";
- $pass = "DIN_LÖSSENORD_TILL_PHPMYADMIN";
- $databas = "DIN_DATABAS";
- try {
- $dbh = new PDO('mysql:host='.$host.';dbname='.$databas,$user,$pass);
- } catch(PDOException $e) {
- print "Error: ".$e->getMessage()."<br/>";
- die();
- }
Add Comment
Please, Sign In to add comment