<? include "dbconnect.php"; $title=$_POST['title']; $content=$_POST['content']; $sqlquery = "INSERT INTO entries VALUES(id,'$title','$content',NOW())"; $results = mysql_query($sqlquery) or die(mysql_error()); print "<html><body><center>"; print "<p>You have just entered this record<p>"; print "title : $title<br>"; print "content : $content<br>"; print "</body></html>"; ?>