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,9 @@
<?php
// Include config file
require "config.php";
// Include config file and other include-files
require "includes/config.php";
require "includes/dbconnect.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");
// Divide the posts into pages, N number of posts on every page
if (isset($_GET["page"]))