value is not showing in the combo box
<?
$cn=mysql_connect("localhost","root");
mysql_select_db("test",$cn);
// Make a MySQL Connection
// Construct our join query
$query = "SELECT one.name,two.address FROM one,two where one.name=two.name";
$result = mysql_query($query) or die(mysql_error());
echo " name "."address";
echo "<br />";
while ($row=mysql_fetch_array($result)){
echo $row['name']. " - ".$row['address'];
echo "<br />";
}
?>
<select name="patient_id_2" id="patient_id_2">
<?
while($res1=mysql_fetch_assoc($result))
{
?>
<option value="<? echo $res['name'] ?>">
<?
echo $res['name']
?>
</option>
<?
}
?>
</select>