Prev: [ANNOUNCEMENT] Services_Yadis-0.3.1 (beta) Released.
Next: [ANNOUNCEMENT] Mail_Mbox-0.6.3 (beta) Released.
From: "Andrea Bakker" on 11 Nov 2009 03:25 Hi I have images stored as blobs in a mysql database. How would I go about displaying this image in a quickform. Thanks Andrea
From: "Daniel O'Connor" on 11 Nov 2009 02:37 oops, CC the list this time. ---------- Forwarded message ---------- From: Daniel O'Connor <daniel.oconnor(a)gmail.com> Date: Wed, Nov 11, 2009 at 6:06 PM Subject: Re: [PEAR] display blob in quickform To: Andrea Bakker <abakker(a)telkomsa.net> On Wed, Nov 11, 2009 at 6:55 PM, Andrea Bakker <abakker(a)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.
From: Alexey Borzov on 11 Nov 2009 11:03
Hi, Daniel O'Connor wrote: > oops, CC the list this time. > > ---------- Forwarded message ---------- > From: Daniel O'Connor <daniel.oconnor(a)gmail.com> > Date: Wed, Nov 11, 2009 at 6:06 PM > Subject: Re: [PEAR] display blob in quickform > To: Andrea Bakker <abakker(a)telkomsa.net> > > > On Wed, Nov 11, 2009 at 6:55 PM, Andrea Bakker <abakker(a)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 |