select option selected multiple code example
Example 1: how to choose multiple option from select option
<!-- JUST ADD multiple ATTRIBUTE WITHIN select ATTRIBUTE -->
Cars:<br>
<select name="car" multiple>
<option value="Volvo">Volvo</option>
<option value="Thar">Thar</option>
<option value="Audi">Audi</option>
</select>
Example 2: select2 multiple selected values
in_array($value, $array)