I'm curious why this won't echo the HTML; I've perused the other questions in SO having to do with echo and print.
It must be the PHP while loop in the string, but I've escaped the double quotes. There is something more complex happening, namely the error "Object of class WP-Query could not be converted to string."
Am I being too simplistic with trying to echo the PHP?
Edited for some formatting (which didn't want to work at first).
And, what I need to do is echo the HTML that is generated by the query loop, because that's the link to the wordpress post.
<?php $d=date("D"); if (in_array($d, array('Thu','Fri','Sat','Sun')))
echo "The latest post for Thursday, Friday, Saturday, Sunday:
<?php $my_query = new WP_Query('category_name=posts&showposts=1'); ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<a href=\"<?php the_permalink() ?>\" rel=\"bookmark\"><?php the_title(); ?></a>.
<?php endwhile; ?>" ;?>
'tanks, Mark