Oracle Loop Through Array Php