Split it up a bit more and added a way to find and edit posts
This commit is contained in:
11
includes/dbconnect.php
Normal file
11
includes/dbconnect.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?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");
|
||||
|
||||
|
||||
?>
|
Reference in New Issue
Block a user