Hi,
If you fill a variable, you could populate both select boxes with one query, and you ca seperate the querying more from the page coding, keeping the whole thing a bit clearer to de-bug.:
$seller = "<select name=\"i6f[SellingRealtor]\">";
$buyer = "<select name=\"i6f[BuyingRealtor]\">";
$q_7="SELECT id,handle from i6users where type = 2";
$result_7 = mysql_query($q_7,$i6link) or die (mysql_error());
while ($row_7 = mysql_fetch_object($result_7))
{
$seller .= "<option value=\"$row_7->id\">$row_7->handle</option>";
$buyer .= "<option value=\"$row_7->id\">$row_7->handle</option>";
}
$buyer .= "</select>";
$seller .= "</select>";
echo $buyer;
echo $seller;