Guest Posted October 28, 2013 Share Posted October 28, 2013 Hey guys, Having a problem..when I use {if $cms->id == 9 && $cms->id == 11} Nothing shows up, but when I just do {if $cms->id == 9} it appears. I also tried OR. Am I doing something wrong here? Thanks, eggo Link to comment Share on other sites More sharing options...
vekia Posted October 28, 2013 Share Posted October 28, 2013 this if condition mean: IF A=1 AND A=2 it is impossible instead of AND use OR: {if $cms->id == 9 OR $cms->id == 11} Link to comment Share on other sites More sharing options...
prestacity Posted March 20, 2019 Share Posted March 20, 2019 Logiczne Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now