The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Why does this condition not work
Hi all, and happy new year
I am trying to add a condition to my postbit template and I am not sure why it would not work, both of these conditions work on their own but not with an AND... PHP Code:
|
#2
|
|||
|
|||
I think you probably want OR instead of AND. It can be kind of confusing because it doesn't always mean quite the same thing in php programming that is does in English.
|
#3
|
|||
|
|||
Brilliant, cheers you are right the OR was perfect, but I found it better to do a != (does not equal) with the condition i needed...
Thanks again KH99 Regards Mick |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|