MyBB Community Forums

Full Version: Help me to fix this template conditional!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I can't make it work any ideas:

<if $something =< 10 then>10<elseif $something => 10 then>$something<elseif $something => 190 then>190<else /><else /></if>
Moved to Plugin Support.
You don't understand the point of mathematical operators. If something is more and equal 10, it won't check the 3rd else. Needs to be something like this:

<if $something <= 10 then>
10
<elseif $something >= 190 then>
190
<else>
{$something}
</if>
Works great thanks very much +1