![]() |
How do I make an "if not" code statement?
Sorry for the newbie question, but I have never coded PHP (or anything much).
I can see how to code an "if" statement, like so: <if condition="....... but how do I make an "if not" statement? Many thanks in advance, and please do not throw brickbats, I already know I am a newb. |
$foo != $bar
this "translates" to "$foo is not equal to $bar", while "$foo == $bar" would be the "equals to" you used so far.... Can be used in PHP code as well as in the <if...> tags in templates. |
Many thanks, Hellcat!
|
All times are GMT. The time now is 06:24 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|