$sql = $con->query("SELECT * FROM notas A INNER JOIN comentario B ON A.pr_id = B.id_nota ORDER BY A.pr_id DESC"); while ($fila = $sql->fetch()) {