Re: [SMARTY] custom "value" with {html_select_date}?
| From: | Andrei Zmievski | Date: | Tue, 21 May 2002 16:55:36 +0000 |
| Subject: | Re: [SMARTY] custom "value" with {html_select_date}? | ||
| References: | 1 2 3 4 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4334@lists.php.net to get a copy of this message | ||
Not currently.
On Tue, 21 May 2002, Monte Ohrt wrote:
> Oops, my mistake. So can this be done? generating the values that is.
>
> Andrei Zmievski wrote:
> >On Tue, 21 May 2002, Monte Ohrt wrote:
> >
> >>{html_select_date} is going to display whatever you assign to it.
> >>
> >>$values= array(1,2,3,4,5);
> >>
> >>$output= array('01','02','03','04','05);
> >>
> >>$smarty->assign('values',$values);
> >>$smarty->assign('output',$output);
> >>
> >>{html_select_date values=$values output=$output}
> >
> >
> >That's {html_options}, Monte.
> >
> >-Andrei
> >http://www.gravitonic.com/
> >
> >"Remember, high-tech means breaks down next week, while cutting edge means
> >breaks down this afternoon." -- Bruce Sterling
> >
>
>
>
> --
> Monte Ohrt <monte@ispi.net>
> Director of Technology, ispi Inc.
-Andrei http://www.gravitonic.com/
"C combines all the power of assembly language with
all the ease of use of assembly language" -- trad