diff --git a/docs/en/designers/language-custom-functions/language-function-html-options.xml b/docs/en/designers/language-custom-functions/language-function-html-options.xml index 56a66714..2aca248b 100644 --- a/docs/en/designers/language-custom-functions/language-function-html-options.xml +++ b/docs/en/designers/language-custom-functions/language-function-html-options.xml @@ -81,6 +81,9 @@ html_options +EXAMPLE 1 +--------- + index.php: require('Smarty.class.php'); @@ -97,6 +100,8 @@ index.tpl: {html_options values=$cust_ids selected=$customer_id output=$cust_names} </select> +EXAMPLE 2 +--------- index.php: @@ -118,6 +123,7 @@ index.tpl: OUTPUT: (both examples) +----------------------- <select name=customer_id> <option value="1000">Joe Schmoe</option>