you may need to change the join type you are using. Maybe use a right join, or an inner join
to create links to the pastors profile, create the link to pass the pastors ID using a querystring variable, for example:
pastorProfile.php?id=23
then on the pastorProfile page, filter the recordset using the id querystring variable.