you are passing a 1 to the mysql_query because the query has been run, successfully.
instead of $Result = mysql_db_query()...
Remove that line, and change it to this:
$Result = mysql_query($query, $Link);
That should solve the problem. Basically, the 1 is the return from the query that result was running, and then you tried to run it again.
-Patrick