i use mysql_db_query because i don't have to guess what the current open database is.
my headers set the database $db, then:
$results = mysql_db_query($db,"SQL QUERY");
to me, any speed hit is worth not having to worry about switching databases and forgetting to switch back.