While Loop Through Array Php Functions String