If statement with multiple categories
I am using this if statement:
{if $cat eq "264"} Code {else} Code {/if} But I want to have category 264, 271, 275, etc. How can I format the statement to have multiple category numbers? Also, how can I have a negative if statement? So I can tell something to NOT display if it is a certain category. |
Re: If statement with multiple categories
Quote:
Code:
{if $cat eq "264" or $cat eq "271" or $cat eq "275"} Quote:
Code:
{if $cat ne "264"} |
All times are GMT -8. The time now is 07:10 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.