Reg : Storing & retrieving Document Attachment in mysql using php

mysql , php India
  • 13 years ago

    Hi

    I'm using medium blob data type in mysql for storing records.(images/ documents)

    while retrieving the image,i'm using the following tag.

    <img src='filename.php?imageid=15'> its display the images like that i need to display the document file also.

    (currently, i'm displaying the document file in a pop up window using Headers)

    Pls help Me with a simple examples.

    Thanks in advance.

     

     

     

       

     

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Some people, when confronted with a problem, think "I know, I’ll use regular expressions." Now they have two problems.” - Jamie Zawinski