新手求助
<?php
include("conn.php");
$id=$_POST['id'];
$user=$_POST['user'];
$title=$_POST['title'];
$content=$_POST['content'];
$now=date();
if($_POST['submit'] {
$sql="insert into message(id,user,title,content,lastdate) values (' ','$uesr','$title','$content','$now')";
mysqli_query($sql);
echo "<script>alert('提交成功!返回首页。');location.href='add.html';</script>";}
?>
Parse error: syntax error, unexpected ';' in E:\AAAA\PHPSTUDY\WWW\1.2\add.php on line 9
显示九行的分号错误,但是没有问题啊,是什么原因,自学的小辣鸡求助