View Single Post
Old July 20th, 2006, 05:17 PM   #8 (permalink)
MitchSchaft
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 82
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!
MitchSchaft is offline   Reply With Quote