![]() |
Some conditional help !
I have some HTML stored in a variable in a custom vb page something like this:-
PHP Code:
Now, all I want is to restrict the above image link in the variable to be viewed only by a certain usergroup, but it isn't working. I am using this:- PHP Code:
1. The above doesn't work instead its showing up the condition in source. 2. Please note, this is the only way I need to achieve this. I do not want to put the link code in template directly. I need to use the variable from php page in the template. 3. I have omitted the double course in the conditional as it gives a syntax error. Thank You |
Use an if-statement in your PHP to only set this variable if you need it.
|
All times are GMT. The time now is 09:16 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:
|