0) { while($row = mysqli_fetch_array($result)) { $_SESSION["usuario"] = $row["codigo"]; $_SESSION["rol"] = $row["rol"]; $_SESSION["userid"] = $row["codigo"]; $usuario = $row["codigo"]; $rol = $row["rol"]; echo ""; } } else { $_SESSION["usuario"] = ""; $_SESSION["rol"] = ""; $_SESSION["userid"] = ""; echo ""; } } ?> Bienal de Cuenca - Intranet