Creates an <optgroup> html tag.
optgroup($child, $value, $disabled);| Parameter | Required | Default |
|---|---|---|
| child | no | false |
| $label | no | null |
| $disabled | no | false |
string
Usage:
echo optgroup('...','Winter Months');Result:
<optgroup label="Winter Months">
...
</optgroup>