Re: [SMARTY] html_options questions

From: Date: Fri, 18 Apr 2003 06:24:56 +0000
Subject: Re: [SMARTY] html_options questions
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9312@lists.php.net to get a copy of this message
On Fri, Apr 18, 2003 at 02:02:14AM +0200, Tom Sommer wrote: > On Thu, 17 Apr 2003 23:11:08 +0000, Messju Mohr wrote: > > >> index.tpl: > >> <p><font size="5">Select test effort:</font></p> > >> <select name=effort> > >> {html_options options=$data name=$data->title } > >> </select> > > > remove the "<select>" and "</select>" (it is done by > > html_options for you) and do > > {html_options options=$data name="effort"} > > > html_options does not create the <select>? Doesn't with me? if you provide the (optional) name argument, the <select> is create. if not it's not. i must cross-check if it's documented that way. > -- > Tom Sommer, Denmark > www.tsn.dk - www.dreamcoder.dk

« previous php.smarty.general (#9312) next »