链接库(txt)与可以查询功能就这点分了。该如何解决

WBOY
Release: 2016-06-13 13:40:26
Original
790 people have browsed it

链接库(txt)与可以查询功能就这点分了。

PHP code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->
Copy after login
$month = $_POST['month']; $filename = sprintf("1.txt"); $f = fopen($filename, "r"); if(!$f) { die("文件:".$filename."不存在."); } $lines = array(); while(!feof($f)) { $lines[] = fgets($f); } fclose($f); for($i = 0; $i 0) $lines[$i] = $m[0]; } echo "
"; echo ""; echo "";echo "
时刻 $month
左眼跳 $lines[$i][0]
右眼跳 $lines[$i][2]
"; ?>
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