While Loop Array Php Formatter