Re: [SMARTY] html_option wish
| From: | Tom Sommer | Date: | Mon, 17 Mar 2003 13:11:20 +0000 |
| Subject: | Re: [SMARTY] html_option wish | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8688@lists.php.net to get a copy of this message | ||
On Mon, 17 Mar 2003 07:03:59 -0600, Jason Sweat wrote:
> I always place defaults in the template itself, i.e.
> <select name=constructeur_id>
> <option label="" value="0"></option>
> {html_options ...}
> </select>
or just add the blank as the first element in the array you pass to
html_options
--
Tom Sommer, denmark
www.tsn.dk - www.dreamcoder.dk