-
$news=$wpdb->get_results(“SELECT `ID`,`post_title` FROM $wpdb->posts
- %s
WHERE `post_type`=\”post\” AND `post_status`= \”publish\” ORDER BY ‘ID’ DESC LIMIT “.$how_many);
foreach($news as $np){
printf (“
“, $np->ID,$np->post_title);
}?>
“, $np->ID,$np->post_title);
}?>