Split it up a bit more and added a way to find and edit posts

This commit is contained in:
2013-07-27 02:26:29 +02:00
parent 4847b5f4d7
commit 387012735f
8 changed files with 89 additions and 17 deletions

View File

@@ -1,14 +1,8 @@
<?php
// Include config file
require "../config.php";
// Connect to MySQL database
$link = mysql_connect($host, $user, $password)
or die("Could not connect...");
mysql_select_db($database)
or die("Could not open database");
require "../includes/config.php";
require "../includes/dbconnect.php";
$query = "INSERT INTO blog (date, title, posttext) VALUES