You need to create a FK field in the wishes table called users_user_id or something similar.
I assume that when the user logs in you drop a cookie or start a session? If so, when you authenticate them, register their user_id as a session variable:
$_SESSION['user_id'] = $row["user_id"];
Then, when you write the insert for the wishes table, just add the user_id:
INSERT INTO wishes (users_user_id , field1, field2) VALUES ('$_SESSION['user_id']', $field1, $field2 )
I know that seems a little vague, but hopefully it points you in the right direction.
<oops -started answering, took a phone call, finished, posted and found that leatherback beat me too it!>