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

This commit is contained in:
jackbenny committed 2013-07-27 02:26:29 +02:00
1 parent 4847b5f4d7
commit 387012735f
8 files changed
+89 -17

No files matched your search

+2 -8
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