$hostname = "localhost:3306";
$mysql_login="rickytru_superuser";
$mysql_password="1^UJjv6$5j0#E&j^MYBH&h";
$database="rickytru_blog_platform";
$db = mysqli_connect($hostname, $mysql_login, $mysql_password, $database);
if (!$db){
die("Can't connect to mysql.");
}
?>
Warning: Undefined variable $db in /home/rickytru/public_html/phoneonthecob.com/index.php on line 10
Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given in /home/rickytru/public_html/phoneonthecob.com/index.php:10
Stack trace:
#0 /home/rickytru/public_html/phoneonthecob.com/index.php(10): mysqli_query()
#1 {main}
thrown in /home/rickytru/public_html/phoneonthecob.com/index.php on line 10