Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 639 Bytes

optgroup.md

File metadata and controls

39 lines (27 loc) · 639 Bytes

HAPEL Core Method Reference


<option ...>

Description

Creates an <optgroup> html tag.

optgroup($child, $value, $disabled);

Parameters

Parameter Required Default
child no false
$label no null
$disabled no false

Return Values

string

Example

Usage:

echo optgroup('...','Winter Months');

Result:

<optgroup label="Winter Months">
    ...
</optgroup>