I've added an else statment in this code, but the result is showing multiple times the result after the else. The output is like: "No funds available No funds available No funds available No funds available..."
<div class="ddleft">{section name=p loop=$ps}
{if $ps[p].balance > 0 and $ps[p].status == 1}
<input type=radio name=type value="account_{$ps[p].id}">
Deposit from Account Balance
{else}
No funds available
{/if}
{/section}</div>
Aucun commentaire:
Enregistrer un commentaire