Display the BLOB image in php
by mariganesh[ Edit ] 2013-02-12 12:11:28
Display the BLOB image in php
$result = mysql_query($MainSQL,$link);
$row =mysql_fetch_array($result,MYSQL_BOTH);
$data = $row[0];
echo "<img src='data:image/jpeg;base64," . base64_encode($data) . "' />";