Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.141.198.113
<?php
$host = 'localhost';
$user = 'root';
$pass = '';
$dbname = 'resultsg_kus';
/* $host = 'localhost';
$user = 'root';
$pass = '';
$dbname = 'iims'; */
//$con = mysql_connect( $host,$user,$pass ) or die('Unable to connect');
//mysql_select_db( $dbname ) or die('Unable to select database');
$con = mysqli_connect($host,$user,$pass,$dbname);
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
?>
|