Would this be correct to see if team1id was the same as $team_id???
<? if ($team1id == $team_id) echo "selected" ?>
If they are ints or strings or the like, yes. if they are floating point variables, no. What is thier datatype
LOL, you have a child thread from your main thread. Anyway, as lives4him06 pointed out, maybe. If you want to be realy strick use: $team1id === $team_id
The extra = makes the comparison stricks. Look here for more info.