Home > Backend Development > PHP Tutorial > 调用文本文件内容_PHP

调用文本文件内容_PHP

WBOY
Release: 2016-06-01 12:30:24
Original
809 people have browsed it



调用文本文件内容




 // 打开文件同时,打印每一行
 $myFile = file( "data.txt");
 for($index = 0; $index  {
  print($myFile[$index]."
");
 }
?>




Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template