Re: [SMARTY] custom "value" with {html_select_date}?
| From: | Andrei Zmievski | Date: | Tue, 21 May 2002 15:54:18 +0000 |
| Subject: | Re: [SMARTY] custom "value" with {html_select_date}? | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4330@lists.php.net to get a copy of this message | ||
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