Re: html_select_date
| From: | Simon Willison | Date: | Tue, 19 Mar 2002 10:04:55 +0000 |
| Subject: | Re: html_select_date | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3109@lists.php.net to get a copy of this message | ||
pemphp wrote:
Hi, Is it possible to use html_select_date with a pre-selected date. I would like to have the html_select_date form fill with a specific date and not the current date. YEs it is possible - an example (lifted from the manual):{html_select_date prefix="StartDate" time=$time start_year=1995 end_year=2001 display_days=false} Plenty more information here: http://www.phpinsider.com/php/code/Smarty/docs/language.custom.functions.html#LANGUAGE.FUNCTION.HTML.SELECT.DATE