Jump to content

Displaying an image in a PEAR ITX.php template


Dumps

Recommended Posts

I have a page that displays the results from a database query and includes an image for the logo using

<img src=\"ShowImage.php?name=\"$logoname\">

 

However, I want to create a template file (showresults.tpl) so I can separate the code from the output. For text fields the output displays fine, but I'm a bit stumped how I can display an image in a *.tpl file.

 

I'm new to php and PEAR - any help would be appreciated.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.