[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Re: [total-cost] question
for example, i tried:
[if explicit]
[condition]
$total_cost = $Tag->total_cost('noformat' => 1);
return 1 if $total_cost > 0;
return 0;
[/condition]
1
[else]
2
[/else]
[/if]
chad townsend wrote:
>
> i have seriously tried a over 20 ways to do this, i will paste them all if necessary ... but could
> someone please explain to me how to say in ic html:
>
> if ([total-cost] noformat=1 == 0) {
> show this html abc
> } else {
> show this html xyz
> }
>
> it seems like such a simple thing. but evey thing i tried failed.
>
> ./chad&