Re: [SMARTY] need help for {image file=""}

From: Date: Fri, 06 Feb 2004 08:21:35 +0000
Subject: Re: [SMARTY] need help for {image file=""}
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10932@lists.php.net to get a copy of this message
On Fri, Feb 06, 2004 at 01:46:17AM +0100, Juzan Jean-Michel wrote: > Hello, > > I need help for put this code > {$dbt_travaux[$smarty.get.img][1]|default:$dbt_travaux[1][1]} > in the file argument > I try multiple syntax but seems not work {html_image file=$dbt_travaux[$smarty.get.img][1]|default:$dbt_travaux[1][1]} or {assign var=img_no value=$smarty.get.img|default:1} {* or assign img_no from php of possible *} {html_image file=$dbt_travaux[$img_no][1]} should do. > In other thread of editors and smarty I use Quanta and Kwrite, very > useful for php, html, ... hmm. i use emacs, but i don't have many friends anyway :) > Thank's > -- > Juzan Jean-Michel <jmj@ecreasol.ch> > eCreaSol

« previous php.smarty.general (#10932) next »