I want to connect to db4free's database with php, it always takes me a long time to load then IE show error message> Can't connect to website(look like this).
It should show a blank page if it connected successfully,right?
(PS: I have tried to put the php file on external host and even localhost)
What can i do now?
$host = 'db4free.net:3306';
$user = 'ccsky';
$pass = '123456';
$db = 'wingsv_login';
$connect = @mysql_connect ($host,$user,$pass) or die ('error connecting to the database!');
$select = @mysql_select_db($db,$connect) or die ('error selecting database!');