bills/connection.php
2022-02-22 12:00:53 +02:00

13 lines
243 B
PHP

<?php
$dbhost = "localhost";
$dbuser = "root_user";
$dbpwd = ":Lc+z{9UH*9qZ[aV";
$dbname = "bills";
$conn = mysqli_connect("$dbhost", "$dbuser", "$dbpwd", "$dbname");
if (!$conn) {
die("Connection failed: " . mysqli_connect_error());
}