Problem with Putting Php into Wordpress Page

I would like to show the last 5 latest posts on my wordpress home page.

I have inserted the following code into my wordpress page (using the page editor in html mode) and I have the Exec-PHP plugin installed. I have also tried it with another style with no luck but I have been able to do this with my other word press blogs in the past:


<?php query_posts('showposts=5'); ?>

  <?php while (have_posts()) : the_post(); ?>
  <li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
  <?php endwhile; ?>

the website is here:
this should be displaying just below the article (before the ads) I have even tried disabling ads and plugins with no luck!

Your not telling PHP what to do with that function. Echo it.

<?php echo query_posts('showposts=5'); ?>

ok thanks for your feedback but I just tried that and it has made no difference.

To be honest K. Wolfe, I’m a bit thrown off by it at times too because WP seems to have a load of functions that echo by them self. Prime example being the_title() - echos the title out without the plugin/theme having to echo it.

I guess the only thing it must be some part of the install of wordpress went wrong or something.