![]() |
![]() |
Hey,
I'm trying to compare two fields in a returned query to see if
they are equal..I can't make it work..
It looks something like:
[query sql="select * from somewhere" list=1]
[if '[sql-param field1]' eq '[sql-param
field2]']
do something
[/if]
[/query]
This actually returns true ALL of the time..if I change 'eq'
to 'ne' it's still true. Anyone know why?:) And what is the proper sytnax for
this comparison? Using minivned 4.02
Nick
|