Re: [SMARTY] Combine multiple variables in html_image
| From: | messju mohr | Date: | Tue, 16 Dec 2003 22:08:09 +0000 |
| Subject: | Re: [SMARTY] Combine multiple variables in html_image | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10710@lists.php.net to get a copy of this message | ||
On Tue, Dec 16, 2003 at 10:32:26PM +0100, Andreas Ahlenstorf wrote:
> Hello,
>
> In $imStoreWWW I have the path to the image directory and in
> $image.variant_t the name of the image. Is there any possibility
> to combine this two variables and use them with html_image? My
> idea does not work :(
>
> {html_image file="$imStoreWWW.$image.variant_t"}
{html_image file="$imStoreWWW
$image.variant_t"}
see: http://smarty.php.net/manual/en/language.syntax.quotes.php
greetings
messju
>
> Regards,
> A.