switch ($foruminfo['forumid']){ case XX: $vbphrase['post_new_thread'] = 'text for forum XX'; break; case YY1: case YY2: $vbphrase['post_new_thread'] = 'text for forum YY1 and YY2'; break; case ZZ1: case ZZ2: case ZZ3: $vbphrase['post_new_thread'] = 'text for forum ZZ1 and ZZ2 and ZZ3'; break;}