Re: display blob in quickform

From: Date: Wed, 11 Nov 2009 16:03:16 +0000
Subject: Re: display blob in quickform
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-30138@lists.php.net to get a copy of this message
Hi, Daniel O'Connor wrote:
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.
A better idea is to use 'static' element. http://pear.php.net/manual/en/package.html.html-quickform.html-quickform-static.php

« previous php.pear.general (#30138) next »