PHP File Read using for looper
File Read using for looper
<?
$data = file("file.txt");
for($i=0; $i<=count($data)-1; $i++) echo htmlspecialchars($data[$i])."<BR>";
?>
<?
$data = file("file.txt");
for($i=0; $i<=count($data)-1; $i++) echo htmlspecialchars($data[$i])."<BR>";
?>