1
1
mirror of https://github.com/neosubhamoy/neosubhamoy-portfolio.git synced 2025-12-20 04:39:34 +05:30
Files
neosubhamoy-portfolio/connection.php

15 lines
333 B
PHP

<?php
//Database info - (for loclhost)
$hostname = "localhost";
$username = "root";
$password = "";
$database = "neosubhamoy";
//Connect with Database
$conn = new mysqli($hostname, $username, $password, $database);
if ($conn -> connect_error) {
die("Database Connection Failed !" . $conn->connect_error);
}
echo "";
?>