7935 Posts in 1536 Topics by 943 members
|Go to End|
30 March 2011 at 8:52am
If I am using the DOM and lets say I have two categories for $food (meats and cheese) that i can choose with each food item i pick.
I want to create something like this:
<% control TypesofFood %>
<% if category == meat %>
<% else_if category == cheese %>
<% else %>
You aint got no meat or cheese!
<% end_if %>
<% end_control %>
my problem that if SS makes it all the way through the argument and gets to "You aint got no meat or cheese!" it will repeat this for as many times as their are Dataobjects.
Anyone know how I get that last statement to just appear once?? Thanks!
|Go to Top|