想做一个PHP+txt程序(眼跳小程序)解决方案

WBOY
Release: 2016-06-13 10:07:43
Original
1630 people have browsed it

想做一个PHP+txt程序(眼跳小程序)


下拉菜单12个 库是1.txt 库里12行 库里数据按行算与下接菜单一一对应。

例如:当选下拉菜单1时,子时(23点到凌晨1点前) 点提交按钮。

左眼跳显示1意外之喜降临
右眼跳有人请你吃饭


以此类推。谢谢

我写了一下代码。 有些地方不会写了 高人指点一下。。。最好帮我补全。。谢谢








$month = $_POST['month'];
$filename = sprintf("1.txt");
}


echo "


";echo " ";echo " ";echo "
时刻 $month
左眼跳 $lines[$i][0]
右眼跳 $lines[$i][1]
";
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