I have a form in which there is a select box for several items with three values and some other fields. I want to select the selected values from the list after sending, using php code. How can I complete this task?
PHP Code: -
<select id="txtconfort" name="txtconfort[]" multiple="multiple" style="width:72%; height:60px;">
<option value="Power Steering">Power Steering</option>
<option value="Power Windows">Power Windows</option>
<option value="Engine Start/Stop Button">Engine Start/Stop Button</option>
</select>
For example, if I select Power Steering and Power Windows, then after sending I want to select these values in the same files using the selected property. Please help me!
source
share