I've got an problem when I want to convert an image in blob format stored in my database. When iƧ just echo $content I can actualy see the blob file printed out so there is no problem with my queries.
The problem is that my code only displays an broken image instead of the Image in the database. Does anyone know how to display the image properly?
Thanks in advance
$content = mysql_result($result,$i,'Image');
echo '<img src="data:image/jpeg;base64,<?php echo base64_encode($content); ?>" width="100" />';