Take a look at WordPress Integration with your website
This is an example from this page that shows the first ten entries in alphabetical order:
<?php require('/the/path/to/your/wp-blog-header.php'); ?> <?php $posts = get_posts('numberposts=10&order=ASC&orderby=post_title'); foreach ($posts as $post) : start_wp(); ?> <?php the_date(); echo "<br />"; ?> <?php the_title(); ?> <?php the_excerpt(); ?> <?php endforeach; ?>
Use $posts = get_posts('numberposts=10'); if you want to receive the last 10 messages.
source share