Using this code below:
<?php
$rand_id = $wpdb->get_var(“SELECT ID FROM $wpdb->posts WHERE post_status = ‘publish’ ORDER BY RAND() LIMIT 1”);
query_posts(“p=$rand_id”);
?>
<?php while (have_posts()) : the_post(); ?>
~Post-related code and template tags go here. ~
<?php endwhile; ?>
How can I display more than one post? Thanks.