feed_test

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

Leave a Reply