Subscribe to the channel.
https://Solootion.net
Code:
$user = '';
$password = '';
$db = '';
$host = '';
$tablename = '';
$success = new mysqli($host,$user,$password,$db);
if(!$success) {
die('Could not connect: ' . mysqli_error($success));
} else {
echo 'Connection successful';
}