Unnamed
public php v1 · immutable<?phpinclude('db.php');//have a new page for posting your entrys to the db$title = $_POST['textfield']; //the stuff inside [] is the name of your textarea/text input$entry = $_POST['entry'];$date = $date = gmdate('d-F-Y h:i A'); //current date and time in gmt$query = mysql_query("INSERT INTO entry (Title, Content, Date) VALUES('$title', '$entry', $date) ") or die("Error: " . mysql_error()); //change content, title and postcontent to the names of your database fields. ?>