I'm using a mini loop on a home page.
ver 2.03
The post title is fine (in h2 tags),
but the post content is one block of
unformatted text - ignoring any format
tags from the post such as br and p
tags (the content is fine on the blog).
I've tried it both as a ul/li and plain.
the print portion of the code is:
\ <?
$news=$wpdb->get_results("SELECT ID,post_title,post_content,post_excerpt FROM $wpdb->posts
WHERE post_status= \"publish\" ORDER BY 'ID' DESC LIMIT ".$how_many);
foreach($news as $np){
print ("<a href=\"");
echo get_permalink($np->ID);
print ("\"><h2>$np->post_title</h2>");
print ("$np->post_content");
} ?> \
thanks for any direction.