html_options and smarty counter problem

From: Date: Fri, 18 Apr 2003 17:58:18 +0000
Subject: html_options and smarty counter problem
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9326@lists.php.net to get a copy of this message
Hello Everyone, I'm trying to do the following: {* initialize the count *} {counter start=0 skip=1 print=false} <td class=myFont> <SELECT name="proj_{counter}"> {html_options values=$proj_vals selected="proj_{counter}" output=$proj_out} </SELECT> </td> Of course the "selected=.." section inside html_options gives me an error. Does anyone know how I can specify proj_{counter} variable to the selected value?? Thanks so much, Tracy

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