I have the next multiple field in my html view:
<select multiple="multiple" name="search[cpuUsage[]]"
id="search_cpu_usage"
class="form-control">
{% for statu in status %}
<option value="{{ statu }}">{{ statu }}</option>
{% endfor %}
</select>
i need all possible values that user select, and i try save in search[cpuUsage[]], but this not work because php only get the last selected value. if i use only cpuUsage[] without search[] works perfectly.
For send to server i use jquery.serialice.
any idea of how do for work search[cpuUsage[]]
cpuUsage[]is an array already why do you need thesearcharray?