Its syntax is: string fgets (int filepointer, int length)
$fh = fopen("data.txt", "r");
while (! feof($fh)) :
$line = fgets($fh, 4096);
print $line."
";
endwhile;
fclose($fh);
?>
Its syntax is: string fgets (int filepointer, int length)
$fh = fopen("data.txt", "r");
while (! feof($fh)) :
$line = fgets($fh, 4096);
print $line."
";
endwhile;
fclose($fh);
?>