Professor Lu’s needs:
';//

if($r>26)$r=3200+$r-26;
else $r=3100+$r;
echo $r."
".ini($r)."
";
$nm=ini($r);
//file_put_contents("./data.txt",$r);
//file_put_contents("./data.txt","\r\n");
$tim=date("y-m-d H:i:s");
$f=fopen("./data.xls", "a");
$id=$_POST['id'];
// $id;
if($id==NULL)fclose($f);
fwrite($f,"$r\t$nm\t$tim\t$id\r\n");#便于用excel打开
fclose($f);
}
}
?>
The above introduces the implementation of the shake roll call program in PHP, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.
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