Good evening! I have this code so that my website can access the database I created. But whenever I access the website, a message appears saying that access was denied. What could it be and how do I solve it?
My website -> https://cronograma.estudos.x10.bz/
<!--?php
$servername = "localhost";
$username = "ksfiwibw@cronograma.estudos.x10.bz";
$password = "(Hidden)";
$dbname = "ksfiwibw_cronograma";
$conn = new mysqli($servername, $username, $password, $dbname);
if ($conn--->connect_error) {
die("Conexão com o banco de dados falhou: " . $conn->connect_error);
}
My website -> https://cronograma.estudos.x10.bz/
<!--?php
$servername = "localhost";
$username = "ksfiwibw@cronograma.estudos.x10.bz";
$password = "(Hidden)";
$dbname = "ksfiwibw_cronograma";
$conn = new mysqli($servername, $username, $password, $dbname);
if ($conn--->connect_error) {
die("Conexão com o banco de dados falhou: " . $conn->connect_error);
}