As of now, I really don't know how to display image and its data in a HTML table.
Here are my fields:
Name varchar(100)
Image blob
As of now, here is my code, but I think this is not it and it has also errors.
<?php
$host = 'localhost';
$user = 'root';
$pass = '';
mysql_connect($host, $user, $pass);
mysql_select_db('test');
$sql = "SELECT * from test_mysql";
$result = mysqli_query($db,$sql);
while($arraySomething = mysqli_fetch_array($result))
{
echo "<img src='php/imgView.php?imgId=".$arraySomething."' />";
}
?>
The only output I want is Display Image
(blob) and Data
(Varchar) in a HTML Table.
TY so much for future help.