if ($foruminfo['forumid'] == 66 OR $foruminfo['forumid'] == 67) { $doposts = 'posts = posts - 1,'; } else { $doposts = 'posts = posts + 1,'; }