$DB_site->query("UPDATE user SET ".iif ($foruminfo[countposts],"posts=posts+1,","")." $dotitle"."lastpost='".time()."' WHERE userid='$bbuserinfo[userid]'"); $DB_site->query("UPDATE user SET reset_post = reset_post + 1 WHERE userid='$bbuserinfo[userid]'");