資源簡介
用php做了個簡單的留言板
留言板的 增、刪、修改
代碼片段和文件信息
header(“Content-Type:text/html;?charset=utf-8“);
$Id?=?$_GET[Id];//獲取要修改的Id
$con=mysql_connect(“l(fā)ocalhost““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>
?
?