0 && $max < $sum - $row++) continue; $span = ''; foreach ($match as $type) foreach ($type['text'] as $text) if (preg_match("/$text/i",$line)) { $span = ''; break 2; } echo $span,htmlspecialchars($line),""; } fclose($fh); } ?>