Re: display blob in quickform
| From: | Daniel O'Connor | Date: | Wed, 11 Nov 2009 07:37:22 +0000 |
| Subject: | Re: display blob in quickform | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-30137@lists.php.net to get a copy of this message | ||
oops, CC the list this time.
---------- Forwarded message ----------
From: Daniel O'Connor <daniel.oconnor@gmail.com>
Date: Wed, Nov 11, 2009 at 6:06 PM
Subject: Re: [PEAR] display blob in quickform
To: Andrea Bakker <abakker@telkomsa.net>
On Wed, Nov 11, 2009 at 6:55 PM, Andrea Bakker <abakker@telkomsa.net> wrote:
> Hi
>
> I have images stored as blobs in a mysql database. How would I go about displaying this image
> in a quickform.
I'd suggest a database might not be the best place long term for them to live.
Try
http://pear.php.net/package/HTML_QuickForm/docs/latest/HTML_QuickForm/HTML_QuickForm_html.html
and an <img> tag.