/ Published in: JavaScript
I frequently pass an array of elements from an HTML form to PHP, normally a list of checkboxes for removing database records. This will loop through an array of checkbox's with the same name & build a delimited string from the checked values. After I have the values in a delimited string I normally have a hidden field which holds the string & explode it on the PHP side.