Here's what I use as my dynamic select box generation:
<?php
$query = "SELECT * FROM `table_name` WHERE something = '$something'";
// Note, it's a pseudo query
$result = mysql_query($query);
echo '<select name="myselect">
while($row = mysql_fetch_array($result))
{
echo '<option value="'.$row['column_name'].'">'.$row['column2_name'].'</option>';
}
echo '</select>';
?>
As for reading them after the form is submitted (using the above example):
<?php
// We'll grab the selected options value:
$selected = $_POST['myselect'];
echo $selected;
?>
That will grab the value, and echo it to the browser.
~Brett