Hi.
I use signature 2.21 from V@no.
He uses the variable $not_in_cat to eliminate undesired categories.
I'd like to do the opposite, keeping the $not_in_cat variable.
I created $in_cat
How do I have to modify the following query (partial excerpt only) in order to implement this feature?
...
WHERE i.image_active = 1 AND c.auth_viewcat = $auth AND i.cat_id NOT IN ($not_in_cat)".(($peruser) ? " AND i.user_id = ".$peruser : "").(($imageid) ? " AND i.image_id <> ".$imageid : "")."
...
Many thanks!