How to get more post

hi folks,
i m trying to get 10 post out of custom fields but i don’t know how to i used

<?php query_posts("post_per_page=10"); ?>

but it isn’t working. here is my complete code


<?php query_posts("post_per_page=3"); ?>
<table width="1020" border="0">
<tr>
<td width="281"><?php echo get_post_meta($post->ID,'Artist',true);?></td>
<td width="281"><a href="<?php the_permalink() ?> "><?php echo get_post_meta($post->ID,'Song',true);?></a></td>
<td width="204"><?php echo get_post_meta($post->ID,'Length',true);?></td>
<td width="204"><?php echo get_post_meta($post->ID,'Genre',true);?></td>

</td>
</tr>

i just get one record

You need to assign the return value from query_posts to a variable …

… then loop through that returned variable to echo the data out (if that’s what you want to do).

Check out the codex on query_posts

that i did in the code which it says =10. what else am i suppose to do?

It’s difficult to understand what’s going on in your code as you’ve only posted a portion of it.

What else are you supposed to do?

You really need to get yourself familiar with php and, in this case, the query_posts function.

Honestly, read and understand the codex on the subject.