Jump to content

Retreiving Image from BLOB | MYSQL


farnoise

Recommended Posts

Hey guys,

Qucik question I have a field in my databse called Images and it stores my images (Thubmnails) I have a search page that generates a list of my database, I need to know How can I show this image that is decoded to binary and convert it to I used this code, but ofcourse it just show that binary codes that is stored there!!

 

can you please help me...

 

echo "<td width='130'><div align='left'></div></td>";
echo "<td>"; 
echo "<br>"; 
echo "</td>";
echo "</tr>";
echo "<td><div align='left'>Pictures........</div></td>";
echo "<td>"; 
[color=red]echo $result['Images'];[/color]
echo "</td>";

 

 

 

echo $result['Images'];  is the area that I want to show my pic

Link to comment
https://forums.phpfreaks.com/topic/189346-retreiving-image-from-blob-mysql/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.