Jump to content

Display an image by value


xwishmasterx

Recommended Posts

Hello

 

I am not really good at php or programming and I need a llittle help:

 

I need a value to be "converted" to an image;

 

so if the value is "eg.3" it should show eg. "img3.gif"

 

(the images are stored in a folder)

 

The value is displayed  from:

 

 {case value="text"}
    {$extraField.value}

 

So far it will show the value, but how can I make it display my image instead?

 

Link to comment
https://forums.phpfreaks.com/topic/195420-display-an-image-by-value/
Share on other sites

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.