Hello everyone,
I need to implement a mod, which will be tagging already downloaded by user in browse.php. It can be an icon or column background color. I've tried to use this querry:
Code:
mysql_query("select count(snatched.id) from snatched inner join users on snatched.userid = users.id inner join torrents on snatched.torrentid = torrents.id where snatched.finished='yes'AND snatched.torrentid =" . $_GET[id]) or die(mysql_error());
but I have no idea what function should I use for $CURUSER and where I should place it.
Thank you for any help and suggestions.
Best regards,
Brendal.