• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

foreach loop member is staff

#1
and another foreach loop question :D

i want to list all staff members in a drop down list, please help adjust this code

<select>
<xen:foreach loop all users >
<xen:if is= user type == 'staff'>
<option>username</option>
</xen:if>
</xen:foreach>
</select>