Age range - Twig, Craft CMS

<select name="age"> {% for age in range(1, 100) %} <option name="age-{{ age }}">{{ age }} </option> {% endfor %} </select>

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.