How to call the content of a text file?
// While opening the file, print each line
$myFile = file( "data.txt");
for($index = 0; $index < count($myFile); $index++)
{
print($myFile[$index]."
");
}
?>
< /CENTER>
Home >Backend Development >PHP Tutorial >Example of directly calling the content of a text file using a PHP program_PHP Tutorial
How to call the content of a text file?