summaryrefslogtreecommitdiffstats
path: root/user_guide/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/helpers')
-rw-r--r--user_guide/helpers/form_helper.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/user_guide/helpers/form_helper.html b/user_guide/helpers/form_helper.html
index 2bb2a4a3a..8504ac02f 100644
--- a/user_guide/helpers/form_helper.html
+++ b/user_guide/helpers/form_helper.html
@@ -239,6 +239,7 @@ fourth parameter:</p>
<br />
echo form_dropdown('shirts', $options, 'large', $js);</code>
+<p>If the array passed as $options is a multidimensional array, form_dropdown() will produce an &lt;optgroup&gt; with the array key as the label.</p>
<h2>form_fieldset()</h2>