$do = mysql_fetch_assoc(mysql_query("SELECT * FROM `users`.users WHERE id='0'", $link)); $dt = mysql_fetch_assoc(mysql_query("SELECT * FROM `map`.".$do["locate"]." WHERE id='".$do["id"]."'", $link2));