I need to list post_title's in this specific format (note the last title in the list must not have a comma)
"post_title","post_title","post_title"
I thought a mini-loop might work. Here's what I'm using
<?php query_posts('cat=0$posts_per_page=-1'); // query to show all posts independant from what is in the center;
if (have_posts()) :
while (have_posts()) : the_post(); ?>
'<?php the_title(); ?>',
<?php endwhile; endif;
wp_reset_query();
?>]">
But I need the final post_title to have no trailing comma?