Welcome to WebmasterWorld Guest from 23.20.223.88

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

display blob images with php

     
11:43 am on Oct 30, 2008 (gmt 0)

5+ Year Member



Hi there all. I am struggling to display blob images uploaded and stored in the mysql table below. So I am inviting anyone with blob images knowledge to help me develop a php code to display all the information and images stored in the table. Here is the structure of the table below:

Database: test
Table name: tbl_images
Id: int primary key not null auto increment
Image: blob
Description: text
Taken_by: varchar(50)
Email: varchar(50)
Time: timestamp

Thank you in advance.

3:16 pm on Oct 30, 2008 (gmt 0)

10+ Year Member



I will give you a pointer - you need to echo out the correct image http header, followed by the blod data stream. simple as that... try looking up the php function header()
4:04 pm on Oct 30, 2008 (gmt 0)

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



try this
[webmasterworld.com...]
 

Featured Threads

Hot Threads This Week

Hot Threads This Month