public function selectpackages($pkg_type, $country_id) { $banner_pkg = packages::where('pkg_type', '=', $pkg_type)->where('country_id', '=', $country_id)->get(); return $banner_pkg; }