Trying to connect my database with the php function:
mysql_connect("host_name","user_name","password")
This function is working fine some of the times and some time it gives me an error that there is no such hostname available. Therefore I cannot work further on the server then I have to check the next day that if its working or not. I know the script is correct as it is working in some time periods.