![]() |
<if> condition from PHP to vbulletin template
I know that within templates, the <if> codes look more like HTML than anything.
I need help translating a PHP code to that format. It's not working and I keep getting an error of: "Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/theafter/public_html/member.php(515) : eval()'d code on line 142" when I try this. PHP Code:
|
HTML Code:
<if condition="(empty($userinfo['field66']) && empty($userinfo['field11']) && empty($userinfo['field44']) && empty($userinfo['field27']) && empty($userinfo['field82']) )"> |
Perfect, thank you! :)
|
All times are GMT. The time now is 07:04 PM. |
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:
|