I had exported a table containing jpeg images in a ms access database to mysql using myodbc. The images were stored as mediumblob type in mysql. I now want to display the images stored in mysql as mediumblobs using php but am unable to do it. can anyone suggest the proper code to do the same?

Recommended Answers

http://www.onlamp.com/pub/a/onlamp/2002/05/09/webdb2.html I haven't tested it, but this is how it works.

Jump to Post

All 4 Replies

Thanks for your valuable time. But there are many sites giving php code for uploading and displaying mediumblob images using php. The problem specific to this case is having used myodbc for exporting jpeg images from ms access to mysql and then being unable to display those images stored in mysql as mediumblob using php.

Hmm.. never faced this problem before.. Has it exported the images properly from ms-access to mysql ?

can't say. But I have been able to reopen the same image using ms access as a front end with myodbc.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.