ODO @php /* Pobieram obszary aktywne dla danej instytucji */ //$obszary = DB::connection('mysql-2')-> $obszary = DB::connection('mysql-2')->table('zs001_obszary') ->where('id', '=', 1) ->first(); @endphp