you can not array variables in side of a string..

? "admin group = " + $admingroups[1]