React Native Loop Through Array Php Functions