I try to display the image from database but only show ��n�ind���g�����Y����... I don't know which part got problem. Please help me. Every help would be appreciated. Here is my code.
timetable.php
include("include/config.php");
$sql = "SELECT * FROM time_table";
$res = mysqli_query($link, $sql);
echo "<table>";
while($row = mysqli_fetch_array($res))
{
echo "<tr>";
echo "<td>";?> <img src="<?php echo $row["t_image"]; ?>" height="100" width="100"> <?php echo "</td>";
echo "<td>"; echo $row["t_name"]; echo "</td>";
echo "</tr>";
}
echo "</table>";
?>
config.php
<?php
$link= mysqli_connect("localhost","root","","course_registration_system");
?>
My database: time_table
t_id t_name t_image
1 Use Case Diagram.jpg [BLOB - 64 KiB]