Re: [SMARTY] Basic html_options question
| From: | Katana | Date: | Mon, 07 Apr 2003 13:55:48 +0000 |
| Subject: | Re: [SMARTY] Basic html_options question | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9159@lists.php.net to get a copy of this message | ||
You can't. You have to use the correct format for your array. As
far as I'm concerned, my favourite structure is the options one:
Array (5)
1 => title one
2 => title 2
3 => title 3
4 => title 4
5 => title 5
Then just use {html_options options=$THE_ARRAY}
Katana