Home > Backend Development > PHP Tutorial > 请问,php中如果返回文本末尾5行数据

请问,php中如果返回文本末尾5行数据

WBOY
Release: 2016-06-13 12:46:49
Original
1040 people have browsed it

请教,php中如果返回文本末尾5行数据

130514064	6,9,1,4,2	2013-5-14 16:40:00<br />
130514065	2,0,1,4,8	2013-5-14 16:50:00<br />
130514066	4,3,4,6,2	2013-5-14 17:00:00<br />
130514067	6,9,4,1,2	2013-5-14 17:10:00<br />
130514068	3,9,1,5,0	2013-5-14 17:20:00<br />
130514069	7,0,4,7,8	2013-5-14 17:30:00<br />
130514070	3,0,3,0,0	2013-5-14 17:40:00<br />
130514071	1,5,3,8,9	2013-5-14 17:50:00<br />
130514072	3,4,4,6,8	2013-5-14 18:00:00<br />
130514073	7,8,8,5,3	2013-5-14 18:10:00
Copy after login


请教,php中,如何返回某文本(行高是动态的)最后5行数据。
希望得到的结果如下
130514069	7,0,4,7,8	2013-5-14 17:30:00<br />
130514070	3,0,3,0,0	2013-5-14 17:40:00<br />
130514071	1,5,3,8,9	2013-5-14 17:50:00<br />
130514072	3,4,4,6,8	2013-5-14 18:00:00<br />
130514073	7,8,8,5,3	2013-5-14 18:10:00
Copy after login

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