我加入不新记录?怎么办?
<table align="center" border="0" bgcolor="#CCCCCC" cellpadding="0" cellspacing="0"><form name="affiche" method="post" action="02.php" >
<tr><td>名称:</td><td><input type="text" name="title" size="50" /></td></tr>
<tr><td>内容:</td><td><textarea name="content" cols="50" rows="8" id="content"></textarea></td></tr>
<tr><td></td><td><input type="submit" value="提交" id="submit"/><input type="reset" value="重写" /></td></tr>
</form>
</table>
<?php
if($_POST[title]!=="" && $_POST[content]!==""){
echo '开始!';
$link=mysql_connect("localhost","root","root") or die("数据源连接失败!");
mysql_select_db("db_study",$link) or die("无法访问数据库!");
mysql_query("set names gb2312");
$title=$_POST[title];
$content=$_POST[content];
$createtime=date("Y-m-d H:i:s");
$sqlr=mysql_query("insert into tb_affiche (title,content,createtime) values('$title','$content','$createtime')");
}else{
echo '添加失败!';
}
?>