I'm not managing to display a message nothing found when the table is empty this query, someone could say where I am going wrong?
<?php
      $sqlRead = "SELECT * FROM dados ORDER BY name ASC";
        try{
            $read = $db->prepare($sqlRead);
            $read->execute();
        } catch (PDOException $e) {
                echo $e->getMessage();
        }
        while ($rs = $read->fetch(PDO::FETCH_OBJ)){
?>
 <h1><?php echo $rs->name; ?></h1>
