【php开源代码栏目提醒】:网学会员在php开源代码频道为大家收集整理了editleaveword.php提供大家参考,希望对大家有所帮助!
<html>
<head>
<title>编辑留言</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="css/font.css">
</head>
<?php
include("conn/conn.php");
$id=$_GET[id];
$sql=my
sql_query("select * from tb_leave
word where id='".$id."'",$conn);
$info=
mysql_fetch_array($sql);
?>
<body topmargin="0" leftmargin="0" bottommargin="0" >
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="20" bgcolor="#FFCF60"><div align="center"><font color="#FFFFFF">留言编辑</font></div></td>
</tr>
<tr>
<td height="100" bgcolor="#000000"><table width="750" height="100" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td width="87" height="25" bgcolor="#FFFFFF"><div align="center">留言主题:</div></td>
<td width="392" height="25" bgcolor="#FFFFFF"><div align="left"><?php echo $info[title];?></div></td>
<td width="83" bgcolor="#FFFFFF"><div align="center">留言时间:</div></td>
<td width="183" bgcolor="#FFFFFF"><div align="center"><?php echo $info[time];?></div></td>
</tr>
<tr>
<td height="100" bgcolor="#FFFFFF"><div align="center">留言内容:</div></td>
<td colspan="3" bgcolor="#FFFFFF"><div align="left">
<?php echo $info[content];?>
</div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="20"><div align="center"> <input type="button" value="返回" class="buttoncss" onClick="javascript:history.back();"></div></td>
</tr>
</table>
</body>
</html>