PHP error

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
innovativebliss
Forum Newbie
Posts: 1
Joined: Mon May 03, 2010 1:01 pm

PHP error

Post by innovativebliss »

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
mikosiko
Forum Regular
Posts: 757
Joined: Wed Jan 13, 2010 7:22 pm

Re: PHP error

Post by mikosiko »

well.. without see your code the only way to know what is happening is using this wonderful resource (Here)


:wink:
minorDemocritus
Forum Commoner
Posts: 96
Joined: Thu Apr 01, 2010 7:28 pm
Location: Chicagoland, IL, USA

Re: PHP error

Post by minorDemocritus »

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.
Post Reply