diff --git a/class/database.php b/class/database.php new file mode 100644 index 0000000..ae5df5b --- /dev/null +++ b/class/database.php @@ -0,0 +1,24 @@ +conn = null; + + try { + $this->conn = new PDO("mysql:host=" . $this->host . ";dbname=" . $this->db_name, $this->username, $this->password, array(PDO::ATTR_PERSISTENT => true, PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8")); + } catch (PDOException $exception) { + echo "Connection error: " . $exception->getMessage(); + } + + return $this->conn; + } +} diff --git a/contact.php b/contact.php index ee1a055..e6bdb94 100644 --- a/contact.php +++ b/contact.php @@ -1,8 +1,41 @@ + + + +
As the premier specialists in the North East, we take pride in being the region's go-to experts. From Newcastle and Sunderland down to Durham and Teesside, our reputation is built on delivering exceptional results and honest, local service that national providers simply can’t match.
- -As the premier specialists in the North East, we take pride in being the region's go-to experts. From Newcastle and Sunderland down to Durham and Teesside, our reputation is built on delivering exceptional results and honest, local service that national providers simply can’t match.
+ +