添加到PHP数组列表的链接?

I never intended to have to use PHP - heck, two days ago I didn't even know what it was, so excuse me if any of my terminology is weird or incorrect.

My predicament is that I need a working code that will end up outputting a list of writer names (that's why the array is called "writers") that are linked to their writer pages/profiles. Here's what I have so far that correctly displays the list of writer names:

<?php
$writers = get_post_meta($post->ID, 'writer', false); 
$last  = array_slice($writers, -1);
$first = join(', ', array_slice($writers, 0, -1));
$both  = array_filter(array_merge(array($writers), $last), 'strlen');
echo join(' and ', $both);
?> 

And the correct writer page link can be generated with this code:

<?php echo get_post_meta($post->ID, 'writerlink', true); ?>

I just don't have the skill to get these puzzle pieces to fit together. Since there are often multiple writers, there will often be more than one writer link. Is it possible to have each list/array value to have its correct link attached?