Help please take a look, nouthing i try works!.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bloodling
Forum Newbie
Posts: 1
Joined: Fri Jul 29, 2011 6:38 am

Help please take a look, nouthing i try works!.

Post by bloodling »

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.
User avatar
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!.

Post by flying_circus »

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
Post Reply