How to call the content of a text file?
Calling text file content
// While opening the file, print each line
$myFile = file( "data.txt");
for($index = 0; $index < count($myFile); $index++)
{
print($myFile[$index]."
");
}
?>
< /CENTER>
http://www.bkjia.com/PHPjc/509210.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/509210.htmlTechArticleHow to call the text file content? HTML HEAD TITLE calls the text file content/TITLE /HEAD BODY CENTER? //Open the file At the same time, print each line $myFile=file("data.txt"); for($index=0;$ind...