My drop-down list always displays all the values ββthat are all visible every time.
view
<label>Choose Employees</label>
<select name="select_employee[]" multiple="multiple">
<option disabled="disabled" selected>Select</option>
<? foreach ($employee->result() as $var)
{?>
<option value="<?echo $var->emp_id;?>"><?echo $var->emp_name;?></option>
<?}?>
</select>
This is a constant look. Is this a css problem ..? Deleting an array character has the correct representation ... but I want to save it as an array.
originally vie that way
source
share