<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>留 言 簿</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="Ly9.css">
</head>
<body>
<div class="dv1">
<table style="width:100%;height:100%;">
<tr>
<td align="center">
<table width="960" height="300">
<form method="post" action="Lymget.php">
<tr align="center">
<td colspan="2">请 * 您 * 留 * 言</td>
</tr>
<tr>
<td align="center">姓名</td>
<td><input name="uname" type="text" class="inpt1"/></td>
</tr>
<tr>
<td align="center">候选人或事项</td>
<td><input name="hname" type="text" class="inpt1"/></td>
</tr>
<tr>
<td>
<p align="center">留言内容</p>
</td>
<td>
<textarea type="text" name="ucnt" rows="5" cols="50"></textarea>
</td>
</tr>
<tr align="center">
<td colspan="2">
<input type="submit" name="sub9" value="提交" class="btn1">
<input type="reset" name="rs" value="重置" class="btn1">
</td>
</tr>
</form>
<tr class="kdrd1">
<td colspan="2" align="center"><a href="index.html">返回主页面</a></td>
</tr>
</table>
</td>
</tr>
</table>
<div class="dv2">
<?php
include "cmcntBD.php";
$sql="select * from message";
$res=mysqli_query($conn,$sql);
while(($row=mysqli_fetch_assoc($res))!=false){
?>
<div class="art2">
<p><?php echo $row['u_name']; ?></p>
<p><?php echo $row['h_name']; ?></p>
<p><?php echo $row['u_cnt']; ?></p>
<p>
<a href="delete.php?id=<?php echo $row['id'] ?>">删除</a>
</p>
</div>
<?php } ?>
</div>
</div>
</body>
</html>
05-06
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交