Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

html tag that displays all file formats stored as blob in mysql db



12:45 pm on Sep 10, 2009 (gmt 0)

5+ Year Member

<img src="viewer.php?id=<?php echo $id;?>" width="400" height="300" alt="<?php echo $name;?>

the tag above displays images stored as blob in tbl_images.
What can i do to make it display .swf, .jpg ,.mp3 almost everithing stored as blob in tbl_images?


9:27 pm on Sep 10, 2009 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member

Explain more please.


11:41 am on Sep 11, 2009 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

You'll need to know the content type of the stored binary large object and send out the appropriate header [php.net] first.

Featured Threads

Hot Threads This Week

Hot Threads This Month