public static function getCountie() { $counties = DB::table('counties')->get(); foreach (County::all() as $county) { $counties = $county->name; } return $counties; }