I'm wondering how to connect the project to the hostinger.
I have the following code:
$servidor = "mysql.hostinger.com";
$usuario = "u*_agnd";
$senha = "";
$dbname = "u*_agnd";
//Criar a conexao
$conn = mysqli_connect($servidor, $usuario, $senha, $dbname);
It returns me these messages:
mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Este host n�o � conhecido. in
mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Este host n�o � conhecido. in
mysqli_query() expects parameter 1 to be mysqli, boolean given in