I have one sql server 2008 database table in which i am storing all types of documents i.e. doc,docx,pdf,image. the datatype of the data field is 'image'.
Data is stored in database. But i need to retrieve it and display it in my php page. I dont need to save or change it but user only need to view that document.
I am using simple select query like
select docid,docname,data from documents
The data field results in System.Byte[].
What do i need to do to print that document in my php application ?
Please help me.
- Thanks in Advance.
Mausami