MySQL PHP Connection

Hi All,


Trying again...I am trying to connect to MySQL database located on a droplet (Digital Ocean) via my web host godaddy. I can connect to the database through localhost using XAMPP (v5.3) but when I upload my PHP and XAMPP's file to my godaddy root directory I get the error message:


Fatal error: Call to undefined function mysqli_connect() in ....public_html/test1.php on line 4



This is really doing my head in. Could anyone please help?