"; } echo ""; foreach ($line as $cell) { echo "" . htmlspecialchars($cell) . ""; } echo ""; if($first) { echo ""; $first = false; } } if(!$first) { echo ""; } fclose($f); ?>