[ic] Simple if, why doesn't this work?

Josh Lavin josh at perusion.net
Thu Jul 18 15:04:47 UTC 2013

Quoting Mark Overmeer (solutions at overmeer.net):
> >           [if cgi paymethod eq ideal ]
> >           [if cgi paymethod eq paypal ]
> >           [if cgi paymethod eq vorkasse ]
> With blank, doesn't work...  starts working when I remove the blank.

If you're not going to quote, then it's a good guess that the space
becomes part of your match.

This would probably work:
     [if cgi paymethod eq 'vorkasse' ]

Josh Lavin
Perusion -- Expert Interchange Consulting    http://www.perusion.com/

More information about the interchange-users mailing list