逐行读取示例
<?php
$link=fopen("test.txt","r");
while (!feof($link))
{
$row=fgets($link);//逐行读取// 输出该行
echo $row."<br/>";
}
exit();
lyzlizhaoyao 博主文章分类:杀鸡要用宰牛刀 ©著作权
逐行读取示例
<?php
$link=fopen("test.txt","r");
while (!feof($link))
{
$row=fgets($link);//逐行读取// 输出该行
echo $row."<br/>";
}
exit();
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M