Hello,
I am using the same code above and am looking to do the same thing however I am running WordPress 2.2.2 (I know I need to upgrade). How can I make this work for my installation?
$query = "Select * FROM wp_posts WHERE post_type='post' AND post_status='publish' AND ID IN (SELECT object_id FROM $wpdb->term_relationships WHERE term_taxonomy_id = $category_id) ORDER BY ID DESC LIMIT 3";
Thanks in advance!