<?php 
$host="localhost";
$user="root";
$pwd="";
$db="assigment";
$conn=mysqli_connect($host,$user,$pwd,$db);
 $query="SELECT * FROM 'tdata'";
 $result=mysqli_query($conn,$query);
 while ($row=mysqli_fetch($result)) {
  ?>
   <table class="table">
        <thead>
        <tr>
            <th>Full Name</th>
            <th>Email</th>
            <th>Birthday</th>
            <th>Gender</th>
            <th>Intrests</th>
            <th>Address</th>
            <th></th>
        </thead>
        </tr>
        <tbody>
        <?php echo "<tr><td>".$row[full_name]."</td></tr>";
         }
         ?>
        </tbody>
    </table>
Error# Fatal error: Uncaught Error: Call to undefined function mysqli_fetch() in C:\xampp\htdocs\gsoft\assigment\tabledb.php:9 Stack trace: #0 {main} thrown in C:\xampp\htdocs\gsoft\assigment\tabledb.php on line 9