Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.