Worked out a class to easily include subpages/content and put the footer in a function
This commit is contained in:
1 parent
d5077b085a
commit
2f5b8734c4
7 files changed
+122
-21
No files matched your search
@@ -3,10 +3,10 @@ require "config.php";
|
||||
|
||||
// Connect to MySQL database
|
||||
$link = mysql_connect($host, $user, $password)
|
||||
or die("Could not connect...");
|
||||
or terminate("Could not connect...");
|
||||
|
||||
mysql_select_db($database)
|
||||
or die("Could not open database");
|
||||
or terminate("Could not open database");
|
||||
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user