Hey Dandy,
this is pretty much what i have and it keeps showing the content inside my page. not sure what i am doing wrong.
<div class="main span8" role="main">
<?php $tagpage = get_the_title(); ?>
<?php
$myposts = get_posts('numberposts=-1');
foreach($myposts as $post) :
$showit = "no";
$posttags = get_the_tags();
if ($posttags) {
foreach($posttags as $tag) {
if(strtolower($tag->name)==strtolower($tagpage)) {
$showit = "yes";
}
}
}
?>
<?php if($showit=="yes") { ?>
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
<?php the_excerpt(); ?>
<?php }; ?>
<?php endforeach; ?>
</div>