I am getting this error when I try to upload a pdf code to my website. I opened the code that it is referencing and tried to make a new user for the database but still wont work. Anyone know what it is saying?
Thanks,
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on '216.247.255.141' (4) in /home/oakcreek/public_html/renestate/admin/uploadPDF.php on line 13
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/oakcreek/public_html/renestate/admin/uploadPDF.php on line 14
Could not select database
PHP error
Moderator: General Moderators
Re: PHP error
well.. without see your code the only way to know what is happening is using this wonderful resource (Here)

-
minorDemocritus
- Forum Commoner
- Posts: 96
- Joined: Thu Apr 01, 2010 7:28 pm
- Location: Chicagoland, IL, USA
Re: PHP error
The script is unable to connect to the mysql server on that IP address. Make sure you've provided the correct information to the mysql_connect() function.