<?php // 打开文件同时,输出每一行 $myFile = file("data.txt"); for ($index = 0; $index < count($myFile); $index++) { print($myFile[$index] . "<BR>"); } ?>
017-PHP数组形式读取TXT记事本内容
猜你喜欢
转载自www.cnblogs.com/tianpan2019/p/10982410.html
今日推荐
周排行