Hello, I'm trying to figure out how to use XAMPP with a database I have set up on my hosting site but it doesnt seem to want to connect to it.
This is what I'm using in my PHP Page:
$con = mysql_connect("sql.000webhost.com","Username","password");
This is the error I'm getting:
Warning: mysql_connect(): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\xampp\htdocs\SFGWebsite\index.php on line 88