时间:2021-07-01 10:21:17 帮助过:2人阅读
session_start();
?>
统计页面
include('conn.php');
$officename=$_POST['officename'];
$date=$_POST['riqi'];
$sql1="select * from record where officename='$officename' and searchtime like '%$riqi%' order by name";
$result1=mysql_query($sql1);
if(mysql_num_rows($result1)!=0){
$row=mysql_fetch_assoc($result1) ;
$officecode=$row['officecode'];
$_SESSION["riqi"]=$_POST['riqi'];
$_SESSION["officename"]=$_POST['officename'];
$_SESSION["officecode"]=$officecode;
}
else{
echo "没有这样的记录,正在返回确认页面";
echo "";
}
?>
日期:――NO:――名称: