View Single Post
  #2 (permalink)  
Old 07-03-09, 09:28 AM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 2,836
Thanks: 13
Thanked 11 Times in 10 Posts
Quote:
Originally Posted by xEX3CUT1ONx View Post
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\upload_members.php on line 87, Line 87 is
This typically indicates that there was no result from your query, but that you're going ahead anyway and trying to use the (non-existent) result. It's possible that this line:

$fetch_files = mysql_query("SELECT * FROM 'uploaded' WHERE submit_user = $curr_user ORDER BY ID");

needs to be changed to this:

$fetch_files = mysql_query("SELECT * FROM uploaded WHERE submit_user = '$curr_user' ORDER BY ID");

(remove quotes around 'uploaded' and place quotes around '$curr_user')
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data (scroll down)

Last edited by End User; 07-03-09 at 09:32 AM.
Reply With Quote