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.
Help please take a look, nouthing i try works!.
Moderator: General Moderators
- flying_circus
- Forum Regular
- Posts: 732
- Joined: Wed Mar 05, 2008 10:23 pm
- Location: Sunriver, OR
Re: Help please take a look, nouthing i try works!.
bloodling wrote:Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/a4541804/public_html/main/login2/register.php on line 118
Without downloading your code or trying to produce the error, the above tells me one of a couple things:
1. You have a typo in your code, if the rest of your mysql queries are working correctly
2. There was a problem connecting to the database or you closed the connection before running the query.
Have a close look at the mysql_query() manual page
http://www.php.net/manual/en/function.mysql-query.php