cycle?
| From: | Mattia Wow | Date: | Sun, 16 Jun 2002 11:12:08 +0000 |
| Subject: | cycle? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-4878@lists.php.net to get a copy of this message | ||
Hi I have to write am HTML like this:
...
<input type="select" name="age">
<select value="10">10</select>
<select value="11">11</select>
<select value="12">12</select>
<select value="13">13</select>
[...]
<select value="90">90</select>
</input>
So I have to cycle from 10 to 90, otherwise write by
hand a lot of values. So I was wandering if there was
some smarty function that can do this for me, without
using my php script. The {cycle} function doesn't seem
to be suitable. Any hints?
Mattia
______________________________________________________________________
Corri in negozio! Ti aspetta il CD originale Levi's Freedom to Move.
Per saperne di più: http://it.yahoo.com/mail_it/foot/?http://it.promotions.yahoo.com/levis