I have working from code here on stackoverflow retrieval of Image blobs from a mysql database using PHP. My question now is how do I show multiple image blobs in different div's from a mysql database. here is my current code. Any help would be appreciated.
<?php
$id ='1';
$db = mysqli_connect("localhost","brianrob_usr","","brianrob_productdb"); //keep your db name
$sql = "SELECT * FROM Products WHERE id = $id";
$sth = $db->query($sql);
$result=mysqli_fetch_array($sth);
echo '<img src="data:image/jpeg;base64,'.base64_encode( $result['Image'] ).'"/>';
?>