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

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -