in php a miultiple select list needs a little more work
1) The name must end with [] to convert the select list to pass an array:
<select name="contrID"
to:
<select name="contrID[]"
add the following code at line 1 to convert the multiple selection array to a comma seperated list:
<?php
if($_SERVER["REQUEST_METHOD"] == "POST") {
foreach($_POST as $key => $val) {
if(is_array($_POST[$key])) $_POST[$key] = implode(", ", $_POST[$key]);
}
}
?>