web_AI-3/dbh.php

11 lines
221 B
PHP

<?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());
}
?>