就是include里面的conn.php
query("更新 sysconfig set vote_name='$votename', dietime='$diedate', method='$type', description='$description' where cid='1';") ;
如果($结果){
echo "";
}别的{
echo "";
}
}
$result = $db->query("从 sysconfig 中选择 *,其中 cid='1';");
$row = mysqli_fetch_assoc($结果);
?>
<头>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<标题>标题>
<脚本类型=“text/javascript”src=“js/jquery.min.js”></script>
<脚本类型=“text/javascript”src=“js/Calendar3.js”></script>
>
</头>
<正文>
;
<div class="control-group">
;
<textarea name="description" cols="" rows="" ><?php echo $row['description'];?></textarea>
<p class=help-block></p>