mysql - php smarty if else loops not working -
basically putting if elses array.
{if $array| count eq 0 || $array| count lt 10} <p>equal 0, less 10</p> {/if} {if $array| count gte, ge 10} <p>greater or equal 10</p> {else} <p>blah</p> {/if}
which not working fine. problem?
how this. can use gte or ge, not both.
{if $array| count lt 10} <p>equal 0, less 10</p> {/if} {if $array| count ge 10} <p>greater or equal 10</p> {else} <p>blah</p> {/if}
Comments
Post a Comment