1
1
mirror of https://github.com/neosubhamoy/neosubhamoy-portfolio.git synced 2025-12-19 23:59:35 +05:30
Files
neosubhamoy-portfolio/htdocs/core/connection.php

12 lines
262 B
PHP

<?php
//Collect database info
require '../db_info.php';
//Connect with Database
$conn = new mysqli($hostname, $username, $password, $database);
if ($conn -> connect_error) {
die("Database Connection Failed !" . $conn->connect_error);
}
echo "";
?>