$key=$_POST["keys"];
if($key=="")
{
echo "input error!";
}
else
{
switch($_POST["mode"])
{
case "author":
author($key);
//按作者查询
break;
case "title":
title($key);
//按诗词题目查询
break;
case "content":
content($key);
//按诗词内容关键字查询
break;
}
}
阅读(1833) | 评论(0) | 转发(0) |