Colleagues.
I'm trying to get results from a mysql table, but it's not working. What is causing me strangeness is that when the information has accents, it does not work, and in the database the accents are correct. See:
include("includes/conexao.php"); // Faço a conexão
$escola = htmlentities(filter_input(INPUT_POST,"BuscarEscola"));
$escolaSeguro = mysqli_real_escape_string($con,$escola);
$sqlEscolas = mysqli_query($con,"SELECT * FROM escolas WHERE nome = 'Colégio Inclusão';");
$jmEscolas = mysqli_fetch_object($sqlEscolas);
echo "Nome " .$jmEscolas->nome;