I'm not sure if I understand your question, but maybe this is what you mean...
// Get THIS sports name information...
$sql = "SELECT * FROM sports WHERE sport_id=2";
$query = mysql_query($sql);
while ($row = mysql_fetch_array($query))
{
$id = $row['sportid'];
$sname = $row['sport_name'];
$sprice = $row['sport_price'];
}
// Get ALL sports names...
$sql = "SELECT * FROM sports_names";
$query = mysql_query($sql);
// Output select tag...
echo "<select name='sport_name'>";
// Output select options...
while($row - mysql_fetch_assoc($query))
{
// Initialize selected to nothing...
$selected = "";
// If option matches THIS sport_name, make it the selected option...
if($row['sport_name'] == $sname)
$selected = "selected";
// Output the option...
echo "<option value='sport_name' $selected>$sport_name</option>";
}
// End the select tag...
echo "</select>";
Obviously, I've left off any HTML formatting and I'm guessing about which field you want to be a drop-down, but hopefully you get the basic concept.