资源简介
用php做了个简单的留言板
留言板的 增、删、修改
代码片段和文件信息
header(“Content-Type:text/html; charset=utf-8“);
$Id = $_GET[Id];//获取要修改的Id
$con=mysql_connect(“localhost““root“);
mysql_select_db(“scql“$con);
mysql_query(“set names ‘utf8‘“$con);
$result = mysql_query(“select * from liuyan where id=$Id“);
$row = mysql_fetch_array($result);
?>
lns=“http://www.w3.org/1999/xhtml“>
ta http-equiv=“Content-Type“ content=“text/html; charset=utf-8“ />
ript type=“text/javascript“>
ript>
tle>编辑留言 tle>