求助,谁能帮忙解决一下这段代码?
<?php
$conn=@mysql_connect("localhost","root","") or die("数据库连接错误");
mysql_select_db("test",$conn);
mysql_query("set names 'GBK'");
?>
<?php
include("conn.php");
if($_POST["sumbit"])
{
$sql="insert into message(id,user,title,content) value('','$_post[user]','$_POST[title]','$_POST[content]')";
mysql_query($sql,$conn);
}
echo"留言成功";
?>
<form action="addly.php" method="post">
用户名:<input type="text" name="user"><br/><br/>
标题: <input type="text" name="title"><br/><br/>
留言内容:
<textarea name="content" rows="10" cols="50"></textarea><br/><br/>
<input type="submit" name="sumbit" value="提交内容">
</form>
为什么提交后内容无法加入数据库