[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] IF comparison question
> According to the documentation, the following snippets of code should mean
> the same thing:
>
> 1) [if eq [sql-param foo]][then][sql-param
> foo][/then][else] [/else][/if]
>
> 2) [if ne [sql-param foo]][then][sql-param
> foo][/then][else] [/else][/if]
>
> I would be thankful if someone could prove me wrong/right :)
>
>
> René
>
Someone can correct me if I am wrong, but I don't think you are comparing
anything.
[if eq [sql-param foo]]
maybe something more like
[if foo eq [sql-param foo]]
Paul