Store Image in Access Database
| From: | Mike Baranski | Date: | Thu, 27 Dec 2001 16:16:03 +0000 |
| Subject: | Store Image in Access Database | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-78850@lists.php.net to get a copy of this message | ||
Hi, I'm trying to store a binary file in an access database, I'm using an ole
type, and I think that it's getting inserted OK. My problem is that I don't
know how to pull it out... How do you select the stuff that's in an ole
object out of the database and display it, a jpg, for example. I can't even
get the raw data. I've tried converting it to base 16 and inserting it, but
I still can't pull it out. I know how to do this in mysql, so posting that
won't help. I need to know how to do this with access.
Thanks
Mike.