I've searched for this for a while (also SO), but I just don't get it. I want to place an echo `<?php echo get_tag_link($tag_id); ?>` within an echo:

```
<?php
    $posttags = get_the_tags();
    $count=0;
    if ($posttags) {
        foreach($posttags as $tag) {
        $count++;
            if (1 == $count) {
                echo '<span class="tags"><a href="<?php echo get_tag_link($tag_id); ?>">';
                echo $tag->name . ' ';
                echo '</a></span>';
            }
        }
    }
?>

```

But clearly this is wrong..