就是include裡面的conn.php
query("更新 sysconfig set vote_name='$votename', dietime='$diedate', method='$type', description='$description' where cid='1';") ;
如果($結果){
echo "";
}別的{
echo "";
}
}
$result = $db->query("select * from sysconfig where 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>