Jump to content

Help needed


masterdon

Recommended Posts

i need help with mysql.php

 

this keeps coming up when i try to log into my game

 

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

 

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/tassie12/domains/kronicalwars.co.cc/public_html/mysql.php on line 3

 

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/tassie12/domains/kronicalwars.co.cc/public_html/authenticate.php on line 30

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

 

 

can someone send me the code for mysql.php for mccodes and tell me where to put the database user and pass?

Link to comment
https://forums.phpfreaks.com/topic/209470-help-needed/
Share on other sites

There really isn't a single answer to that question, it all depends on what you're trying to so. At the very least, you'll probably need a user_id, username, and password fields. You need to decide what information you'll require from the user, and design the table accordingly.

Link to comment
https://forums.phpfreaks.com/topic/209470-help-needed/#findComment-1093718
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.