Good I have the following function in a PHP file I create the following function, which I want to go through to show the records in an html as it is possible to do it. Greetings
function mostrarAreas(){
$consulta = "SELECT * FROM area";
$conexion = conectarServidor();
$query = $conexion->query($consulta);
while ($fila = $query->fetch_assoc()) {
}
}