[Phplib-users] Templates and binary data in mySQL
Brought to you by:
nhruby,
richardarcher
|
From: Michael R. <mdr...@co...> - 2002-04-08 22:06:29
|
I'm using the PHPLib template system, and have no idea how to populate a
template with binary (image) data from a mysql database.
I understand how to display the image as a standalone php file, by
passing the appropriate headers then echo'ing the data, but how do I fit
all of that into a template?
Currently my templates contain lines like: img src="{IMAGE_PATH}"
And this works fine until I don't have a path, but binary mysql data.
Any idea how to accomplish this?
Thanks in advance,
Mike
|