Postgres Loop Through Array Php Contoh