[ic] if explicit

Peter peter at pajamian.dhs.org
Wed Aug 19 14:20:21 UTC 2009


On 08/19/2009 04:36 AM, m.mescoli at omnib.it wrote:
> 1) [if type=explicit compare=`"[data session username]" ne 
> "marco"`]1[/if]<br />
> 2) [calc]"[data session username]" ne "marco"[/calc]
> 
> Why this 2 lines works differently ?

What are the different results you're getting?

Also ... (1) is better written as:
[if session username ne marco]1[/if]

(2) is better written as:
[calcn]$Session->{username} ne 'marco'[/calcn]


Peter




More information about the interchange-users mailing list