well as I mention it: I have a simple database with a single table because it is a test where ALL (the database, the table, the text fields) is with a collation "utf8_general_ci" then to the time to read from php the text field that has ñññ''0ó annoying and appears exactly \ ' 0
consult.php:
<?php
require("conexion.php");
header("Content-Type: text/html;charset=utf-8");
$sql = "SELECT * FROM 'administrador'";
$result = $mysqli->query($sql);
$barrios = $result->fetch_assoc();
$local = mysqli_real_escape_string($mysqli, $barrios['nombre']);
echo $local;
?>
Database in mysql:
Guys this is the most important thing in my project and I really can not find an exit If anyone knows what I should do, I really appreciate it