Example #1
0
 public function return_posts_list($forum_id)
 {
     $post = new posts();
     $res = $post->select_all($forum_id);
     echo json_encode($res);
     return;
 }