"webmechanic" <dm*******@yahoo.com> wrote in message
news:11**********************@g10g2000cwb.googlegr oups.com...
I was able to insert images into mysql stored as binary data. How do I
retrieve it. Please provide thorough explanation. Thanks.
Do your SELECT:
$query = "SELECT blobfield FROM table WHERE ????";
$result = mysql_query($query, $dbc);
$result_data = mysql_fetch_array($result, MYSQL_ASSOC);
$img = imagecreatefromstring($result_data['blobfield']);
---
Just lookup the exact function parameters as that is just off the top off my
head...
Norm
--
FREE Avatar hosting at
www.easyavatar.com