Php String Loop Through Each Column