php投票系统报告,投票系统设计
1新建Voteset.php文件<?php
include('../conn.php');
if(isset($_post['votename'])?$_post['votename']:""){
$votename = $_post['votename'];
$diedate = $_post['dieddate'];
$description = $_post['description'];
$type = $_post['mradio'];
$result = $db->query("update sysconfig set vote_name='$votename', dietime='$diedate', method='$type', description='$description' where cid='1';");
if($result){
echo "";
}else{
echo "";
}
}
$result = $db->query("select * from sysconfig where cid='1';");
$row = mysqli_fetch_assoc($result);
?>
html>
投票主题
">投票描述
投票终止时间
" id="control_date" size="10" maxlength="10" onClick="new Calendar().show(this);" readonly="readonly" />
保存配置页面如下所示:
总结
以上是生活随笔为你收集整理的php投票系统报告,投票系统设计的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: 杨玉环怎么死的(杨玉环的死亡之谜终于大白
- 下一篇: php的array跟go的array,实