Could you answer?
I've a table in mysql database the structure is like:
table name: img_tbl (id, image, size, format, etc..)
image defined as blob datatype inside the table.
i can retrieve single image from mysql database by using the following code.
$sql = "SELECT image,size,format FROM img_tbl";
// the result of the query
$result = mysql_query($sql) or die("Invalid query: " . mysql_error());
// Header for the image
header("Content-type: image/jpeg");
echo mysql_result($result, 0,'imageData');
But i need to display multiple images with other attributes of table from table using php.