Forum Moderators: phranque
Example of the problem: www.domain.com
The main page of the site appears to be working correctly, widget titles and links are available and so are the categories and links. After following a category or widget link the center of the page, widget container, is empty. Am I missing something? I've looked over all the scripts and haven't been able to find a clue to why this is working incorectly.
The only error I have found is
Code:
mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/domain.com/httpdocs/profile.php on line 55
upon looking over profile.php and adding print error, I am left with the same error.
I have tried switching between PHP 4 and 5, but still have had no luck. Any ideas or help would be great.
"$result=mysql_query("select username from users where id=$UserID");
list($row[username])=mysql_fetch_row($result);"