[ic] [if]?

Kevin Walsh interchange-users@interchange.redhat.com
Tue Jan 29 16:23:01 2002


> > >
> > > [if type=value term="loop-code" op="eq" compare="[cgi option_code]"]
> > >
> > What you want is probably: term="[loop-code]"
> >
> thank you for trying to help, but that doesn't work either
>
Try one of the following...

Either use "cgi" instead of "value" like this:

    [if type="cgi" term="option_code" op="eq" compare="[loop-code]"]

Or drop the "type" parameter and try one of these:

    [if term="[loop-code]" op="eq" compare="[cgi option_code]"]

    [if term="[cgi option_code]" op="eq" compare="[loop-code]"]

In any case, you need to use "[loop-code]" instead of "loop-code",
as has been suggested earlier.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/