Skip to content

Tag: multi-select

Catch array of HTML multiple select with PHP

I have two multiple selects declared as: I want to catch the values in PHP, like this But the values come like this (with print_r on the $_POST): instead of: How can this be achieved? Can anyone help? Thanks in advance. Answer Try changing the names of the fields on the form to the indices at which you want t…