Sunday, December 27, 2009

Page Not Working(PHP Coding)?

I just made a website. Its like torncity. http://downtownnewyork.x10hosting.com/lo鈥?/a>





it starts out good. I registered. But when i sign in it says :








Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/dnygame/public_html/mysql.php on line 2





Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/dnygame/public_html/mysql.php on line 3





Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/dnygame/public_html/authenticate.p鈥?on line 30


Access denied for user 'root'@'localhost' (using password: YES)





Help PLEASE!!!!Page Not Working(PHP Coding)?
you need to post the code lol





We need to see line 2, 3 and 30





Also make sure your connection address and password is correctPage Not Working(PHP Coding)?
DO NOT GIVE OUT YOUR PASSWORD/ID


Make sure u remove them from the code


(If you give out your id n password, People can assign the account to their name and you will lose everything and ownership).. DONT DO IT,





Login into phpmyadmin and have it generate the login code for your account... Sounds like the user id ur using is not valid... U need to start their.. I generally create an userid per database.





Provide the names of your database and we'll start there. U can msg me if you need for help on this..





Email me bits of your source code without the id/username and i will try n help. also who is your host...





When connecting i use localhost as my host and the database name n userid both have the first 6 characters of my main id

No comments:

Post a Comment