I am trying to load GeoJSON from Postgres database to Leaflet app with a PHP script. I tried a couple of different approaches but can\'t get to the soution.
First of