okay thank you. one more question.
when I am using the JOIN statement to pull information from the two tables ... how do I set the WHERE condition to continue the same session and read the match the foreign key. this is what I have right now.
$id = $_SESSION['id'];
$sql_default = mysql_query("SELECT * FROM myMembers INNER JOIN email_addresses WHERE id='$id' AND myMembers.id=email_addresses.mem_id");
This does not work. any ideas?