Cleaned up ugly HTML and renamed index.php to simplog.php

This commit is contained in:
2013-07-27 23:38:17 +02:00
parent 40de6d2290
commit e886d4f461
10 changed files with 82 additions and 37 deletions

View File

@@ -3,6 +3,9 @@
// Include config file
require "../includes/config.php";
require "../includes/dbconnect.php";
require "../includes/htmlcode.php";
start_html("New post created");
$query = "INSERT INTO blog (date, title, posttext) VALUES
@@ -18,5 +21,6 @@ print "Post added";
// Close MySQL link
mysql_close($link);
end_html();
?>