$query = " SELECT * FROM nt_post, nt_category WHERE nt_post.category_id=$category_id AND nt_category.category_id = nt_post.category_id ";