I keep getting this error
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in userstats.php on line 9
this is the code
The sql table is links and the field in it is by
I want it to find how many $logged[username] links has posted.
I tryed and tryed again for a long time and can't get thi to work
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in userstats.php on line 9
this is the code
| Code: |
| $totallinks = mysql_query("select * from links where by = '$logged[username]'");
$totallinks = mysql_num_rows($totallinks); |
The sql table is links and the field in it is by
I want it to find how many $logged[username] links has posted.
I tryed and tryed again for a long time and can't get thi to work
