if($_POST['submit']){$user=$_POST["user"];$title=$_POST["title"];$content=$_POST["content"];echo $sql="insert into message(user,title,content,lastdate) values('$user','$title','$content',now())";}...
if($_POST['submit']){echo $sql="insert into message(user,title,content,lastdate) values('$_POST["user"]','$_POST["title"]','$_POST["content"]',now())";}...