diff options
| author | horus | 2022-11-26 23:21:50 +0100 |
|---|---|---|
| committer | horus | 2022-11-26 23:21:50 +0100 |
| commit | 8ae270da94654e12c7b23bf93994249058ac9e2f (patch) | |
| tree | 1b5ee3c29cee2a0740124992f2907ec62b039aee /db.php | |
| download | hochzeit-8ae270da94654e12c7b23bf93994249058ac9e2f.tar.gz | |
Initial commit
Diffstat (limited to 'db.php')
| -rw-r--r-- | db.php | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +<?php + +require_once __DIR__ . '/db_passwd.php'; + +/** + * password is set in db_passwd.php + * + * $db_passwd = ""; + */ + +$db_name = "hochzeit"; +$db_user = "hochzeit"; + +$db = new PDO('mysql:host=192.168.122.1;dbname='.$db_name, $db_user, $db_passwd); |
