链接库(txt)与可以查询功能就这点分了。
PHP code
<!--
Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/
-->
$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 "
时刻 |
$month |
左眼跳 |
$lines[$i][0] |
";
echo "
右眼跳 |
$lines[$i][2] | ";echo "
|
";
?>
Statement: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