Canal and River Trust
Wikipedia References
Database
Name: inlandwaterways
Server: 213.171.200.98
User: norridgem
Pass: Mawddach24
2 ways of connecting to the database:
1 As An Object
2
<?php
$servername ="213.171.200.98";
$username = "norridgem";
$password = "Mawddach24";
$dbname = "inlandwaterways";
// create connection
$con = mysqli_connect($servername,$username,$password,$dbname);
// check connection
if (!$con){
die("Connection Failed");
}
?>