You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Kee Hinckley <na...@somewhere.com> on 2003/05/03 23:08:52 UTC

Re: blob data type and embperl

At 10:22 AM +0000 4/30/03, Gerardo Schimpf wrote:
>I have one question. I have a mysql table with a blob data type column and
>pictures stores in that column. How can I display a picture from the database
>on a HTML page using embperl?

<img src="/showimage.epl?id=xxx">

[# showimage.epl #][- do query and spit out image, being careful not 
put newlines in the file before the code -]
-- 
Kee Hinckley
http://www.messagefire.com/          Junk-Free Email Filtering
http://commons.somewhere.com/buzz/   Writings on Technology and Society

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org