web_AI-3/dbh.php

13 lines
291 B
PHP

<!-- dbh file for the login -->
<?php
<!-- Connection to the Server -->
$conn = mysqli_connect("localhost:4022", "root", "password", "login");
<!-- Connection to the Server end -->
if (!$conn){
die("Connection failed:".mysqli_connect_error());
}
?>
<!-- dbh file for the login end -->