when using a multiple select list, or multiple checkboxes, the selections will be transmitted as an array.
you can convert the array to a comma seperated listed using the implode function:
add this code at line 1:
<?php
if($_SERVER["REQUEST_METHOD"] == "POST") {
foreach($_POST as $key => $val) {
if(is_array($_POST[$key])) $_POST[$key] = implode(", ", $_POST[$key]);
}
}
?>
then you can write the comma separated list to the page using:
<?php echo((isset($_POST["ElementName"]))?$_POST["ElementName"]:"") ?>
where ElementName is the name of the select list.