问题描述
嗯,我的名字是费萨尔,你可能会看到我的身份证。我在几个月前进入了php ...
我需要帮助..我正在尝试读取.txt格式的文件..
逐行,反向行动..
我的意思是从上一行到第一行..我真的不在乎......我可以把它写在我对PHP的记忆中..没有问题..
你能告诉我怎么做这项工作吗?
我的意思是如果我可以做一个阵列..所以你能指导我怎么样吗?我在数组方面不太好;)
请帮助...
等待回答!
FAISAL!
Hi,
Well, My name is Faisal, You might saw as my ID. I got into php before a few months...
I need help.. I am trying to read a file that is .txt format..
Line by Line, Reverse action..
I mean from Last to 1st line.. I really don''t care.. I can write them on my memory of php.. No matter..
Can you advice me how can I do this work?
I mean if i can do from an array.. So can you guide me how? I am not so good in arrays ;)
Help please...
Waiting for answer!
FAISAL!
推荐答案
感谢Ronald,
嗯,正如我已经说过我在循环中如此糟糕:(
你能写一个小代码,我可以在其中反复阅读shoutboxdb.txt文件的内容吗???
谢谢。 。
FAISAL!
Thanks Ronald,
Well, as i already said I am so bad in looping :(
Can you please write a small code in which i can read the content of "shoutboxdb.txt" file in reverse Action???
Thanks..
FAISAL!
这篇关于文本文件反向读取的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!