1 post
0
2
944
Try this: <?php require_once('conexao.php'); $id_categoria = 1; $consulta = $PDO->prepare("SELECT * FROM subcategoria WHERE categoria_id = :idCategoria ORDER BY ID;");…