i have database:

so result it:

frome this code:
<?php
 
    $dbhost = '?';
    $dbuser = '?';
    $dbpass = '?';
    try {
        $dbh = new PDO("mysql:host=localhost;dbname=?", "?", "?");  
        $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
        $result = $dbh->query("SELECT * FROM DATACC");
   
  mysql_set_charset("UTF8");
  header('Content-type: text/html; charset=utf-8');
  
  } catch(PDOException $e) {
        echo $e->getMessage();
    }
 echo "<body>";
 
    echo "<table  class='bordered'>";
   
    foreach($result->fetchAll() as $row){
   echo "<tbody>"; 
    echo "<tr class='alt'>";
     echo "<td width='20px'>" . $row["MaCC"] . "</td>";
     echo "<td>" . $row["HoVaTen_VN"] . "</td>";
     echo "<td>" . $row["NgaySinh"] . "</td>";
     echo "<td>" . $row["NoiSinh"] . "</td>";
     
    
    echo "</tr>";
   echo "</tbody>"; 
    }
    echo "</talbe>";
 
 echo "</body>";
    $dbh = NULL;
?>can you help me fix this code! (i tried many way i can to fix this error, so still fail). Thanks for this!
 
     
    