Re: [SMARTY] html_select_date
| From: | Katana | Date: | Thu, 28 Aug 2003 12:04:41 +0000 |
| Subject: | Re: [SMARTY] html_select_date | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10138@lists.php.net to get a copy of this message | ||
MK> how can "html_select_date" automatically select an item?
MK> For "html_options" there is a parameter "selected" to set
MK> the selected item:
MK> {html_options options=$month selected=$frm.month}
use the date parameter giving it a timestamp or mysql formatted
date.
Katana