Dapatkan file setiap baris dalam php
$filecreate = fopen($filename,'r');
while (($line = fgets($filecreate)) !== false) {
echo $line;
}
Homely Hamerkop
$filecreate = fopen($filename,'r');
while (($line = fgets($filecreate)) !== false) {
echo $line;
}
$contents = file("myfile.txt");
foreach($contents as $line) {
echo $line;
}