I changed it around a bit...still no joy...please help...its displaying all the images despite the else statement
Code:
<if condition="!in_array($userinfo[field28], array(1,2,3,4,5,6,7))">
<img src="http://www.webcadets.com/forum/images/certs/1.gif">
<img src="http://www.webcadets.com/forum/images/certs/2.gif">
<img src="http://www.webcadets.com/forum/images/certs/3.gif">
<img src="http://www.webcadets.com/forum/images/certs/4.gif">
<img src="http://www.webcadets.com/forum/images/certs/5.gif">
<img src="http://www.webcadets.com/forum/images/certs/6.gif">
<img src="http://www.webcadets.com/forum/images/certs/7.gif">
<else />
<if condition="!in_array($userinfo[field28], array(1,2,3,4,5,6))">
<img src="http://www.webcadets.com/forum/images/certs/1.gif">
<img src="http://www.webcadets.com/forum/images/certs/2.gif">
<img src="http://www.webcadets.com/forum/images/certs/3.gif">
<img src="http://www.webcadets.com/forum/images/certs/4.gif">
<img src="http://www.webcadets.com/forum/images/certs/5.gif">
<img src="http://www.webcadets.com/forum/images/certs/6.gif">
</if>
</if>