The only difference in the code you posted and what's in my file is:
mine
Quote:
|
$revextra = ppmysql_query("UPDATE {$Globals['rp_db_prefix']}categories SET revextra=(revextra+1) WHERE id=$catid", $link);
|
yours
Quote:
|
$revextra = ppmysql_query("UPDATE {$Globals['rp_db_prefix']}categories SET revextra=(revextra+1) WHERE id=$eachcat", $link);
|
I'll see if changing "catid" to "eachcat" does the trick!