表单中PHP的错误提示是什么意思?
<?php/**Createdon2011-6-4**Tochangethetemplateforthisgeneratedfilegoto*Window-Prefere...
<?php
/*
* Created on 2011-6-4
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
include("conn.php");
if ($_POST['submit'])
{
$sql="insert into message (id,user,title,content,lastdate) values('','$_post[user]','$_post[title]','$_post[content]',now())";
mysql_query($sql);
echo "发表成功";
}
?>
用户:
标题:
内容: 展开
/*
* Created on 2011-6-4
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
include("conn.php");
if ($_POST['submit'])
{
$sql="insert into message (id,user,title,content,lastdate) values('','$_post[user]','$_post[title]','$_post[content]',now())";
mysql_query($sql);
echo "发表成功";
}
?>
用户:
标题:
内容: 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询