"; # read line by line echo ""; while ($line = fgets($input)) { echo ""; # split the line on commas: $tokens = explode(",", $line); foreach ($tokens as $item) { if ($item > 13) { echo ""; } echo ""; } echo "
"; } else { echo ""; } echo $item; echo "
"; fclose($input); ?>