I have a php script that changes a database when the page is requested. Here is the php:
Unknown MySQL server host
Mysql cannot find your server
In this line, check your server
$con=mysqli_connect("server","db","user","password")
Check the documentation