form_select

Helper to print select dropdown

Parameters
string $name

The input name

#
array $data = []

The data for the options to render (key/value pair or array of objects containing id/name properties)

#
mixed $value = null

The option value to be selected

#
array $attributes = []

Array of HTML attributes key/value pair

#
Returns
string