I want to print texts in bootstrap alert mode, but I get the error:
Notice: Array to string conversion in D: \ xampp \ htdocs \ Projects \ ProyectoDriversParadeClub \ DriversParadeClub \ view \ reportses_de_usuarios.view.php on line 121 Array
I have made a var_dump and the query makes it correct, it is at the time of printing it, I pass the code to you:
<div class="alert alert-info" role="alert">
<?php
include_once '../pruebas/conexion.php';
$sql_leer = 'SELECT * FROM reporteusu WHERE id';
$gsnet = $pdo->prepare($sql_leer);
$gsnet->execute();
$resultado = $gsnet->fetchAll();
echo $resultado; ?>
</div>