Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $dsn = 'mysql:host=localhost;dbname=hotel_database';
- $username = 'root';
- $password = '';
- try {
- $db = new PDO($dsn, $username, $password);
- } catch (PDOException $e) {
- $error_message = $e->getMessage();
- include('../model/error_db.php');
- exit();
- }
- ?>
Add Comment
Please, Sign In to add comment