repeating content after post.

This is my code…repeating content after post.
using in wordpress .How can i solve this problem?
please help

(theme Page) for showing content of wordpress page
//

<?php if(have_posts()): while(have_posts()): the_post(); ?>

<?php the_title();?>

<?php the_content();?>

<?php endwhile; else : endif;?> //

(WP Page) for showing wordpress post

//

<?php query_posts('cat=4&showposts=8'); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php the_title();?> <?php the_excerpt();?> <?php endwhile; endif; ?>

//

thanks
Sh!hab

Sponsor our Newsletter | Privacy Policy | Terms of Service