Gossamer Forum
Home : Products : Gossamer Links : Discussions :

If statement

Quote Reply
If statement
I know how to use the if statement like this:

<%if word eq 'link'%>
<%include_link.html%>
<%endif%>


But how do I do the if statement for multiple words.


if apple, oranges, peaches, etc......
Quote Reply
Re: [rascal] If statement In reply to
Code:
<%if word eq 'apples' or word eq 'oranges'%>

Adrian
Quote Reply
Re: [brewt] If statement In reply to
Thanks Adrian