-
I need help with this Please look!
I have just built a temporary website for this error http://shift.site40.net/main/login2/
the .zip file has the source code in it " i have edited my user information in it"
The error is on http://shift.site40.net/main/login2/register.php
Just enter fake information and press register and you will get the error.
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/a4541804/public_html/main/login2/register.php on line 118
I still have not figured out the error.
-
-
The error means that it is not connecting to the database correctly. It is throwing a mysql_connect() error, and because the script is unable to connect to the database, you cannot run a mysql_query().
This almost always happens because the database credentials in the mysql_connect() are incorrect.
Double-check your credentials on mysql_connect() and make sure they're correct.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks