Commit b6ad3089 authored by sam.markey's avatar sam.markey

Connecting to the database script

parent 85b41f45
<?php
//connecting to the database
$dbServername = "cs2s.yorkdc.net";
$username = "sam.markey";
$passwordConnect = "ENTER PASSWORD HERE";
$dbname = "sammarkey";
$connect = mysqli_connect($dbServername, $username, $passwordConnect, $dbname);
if (!$connect) {
die("Connection Failed: " . mysqli_connect_error());
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment