I got a code like this
$result1 = mysql_query("select distinct Country from mtable UNION SELECT DISTINCT MidEstimate FROM mtable");
$row = mysql_fetch_assoc( $result1 );
echo "<select>";
foreach($row as $vals)
{
echo "<option name='$vals'>$vals</option>";
}
echo "</select>";
The dropdownlist list is showing only one value ? I want the values from both columns in this list please help me to sort this
1 Answer