I have just set up a server folder and I am attempting to create a Database on the Server with code as below:
<?php $servername = "http://www.servername.com"; $username = "username"; $password = "password"; $conn = new mysqli($servername, $username, $password); ?>
The access codes I am using are the same as what I use in File Zilla for FTP transfers to the site.
Unfortunately I get an error message "No such address, when I try this.
Any help would be appreciated.