Newbie mysql problem understanding result and id?



I can't understand why the output from this is not '7'?

$query = "SELECT * FROM contacts";
$result = mysql_query($query);
echo mysql_result ($result, 7, "id");

I also tried adding "ORDER by id" but I still can't get it to echo 7.

Thanks!

.