Canal and River Trust

Open Data

Wikipedia References

Canals Of the United Kingdom

List Of the Canals Of the UK

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");
}

?>