added @count to example

This commit is contained in:
pete_morgan
2005-09-10 13:23:59 +00:00
parent 13bcb96ac0
commit 80dea9727c

View File

@@ -133,7 +133,8 @@ where template is:
</para>
<programlisting>
<![CDATA[
<select name=customer_id>
{* note the php count() function to set size *}
<select name=customer_id size="{$cust_options|@count}">
{html_options options=$cust_options selected=$customer_id}
</select>
]]>