Database Connection Easy

<?php

$hostname = 'localhost';
$username ='root';
$userpass ='';
$dbname ='uni';


$con= mysqli_connect($hostname,$username,$userpass) or die('Database Connection error');

mysqli_select_db($con,$dbname);


?>

Comments

Popular Posts