使用odbc下载php不会将选定的值发送到另一个php页面

I am trying to display value in drop down from database using ODBC and send to another page but it is not working. Code is able to get values from database and display but unable to send to ResultsL2.php page.

On ResultsL2.php page, value is shown as blank. Any help to resolve this is appreciated. Thanks

<form action="ResultsL2.php" method="post">
<select class="form-dropdown validate[required]" style="width:150px" id="input_43" name="Testing">
<?php
$connect = odbc_connect("<hostname>", "<username>", "<password>");
$query="SELECT testname FROM RESULT group by 1;";
$result = odbc_exec($connect, $query);
$pre_name=" ";
while (odbc_fetch_row($result)){
    $pre_name .= "<option value=".odbc_result($result,'testname').">" . odbc_result($result,'testname'). "</option>";
   }
print "<option value=\"$pre_name\">$pre_name</option>";
odbc_close($conn);
?>
<input type="submit" name="Submit" value="Submit">;
</select>
</form>

it is probably how you are using your quotes. Try this...

$pre_name .= '<option value="'.odbc_result($result,'testname').'">' . 
 odbc_result($result,'testname') . '</option>';

The values are expecting their own quotes to indicate strings.