Quote:
Originally Posted by Webmist
I have profile field 8 with radio single selection as the type. It's set with options of yes and no. It seems to be working.
Code:
<vb:if condition="in_array($bbuserinfo['field8'], array(yes))">
Script or code here
</vb:if>
|
This would use many many less clock cycles and allocate less memory.
Code:
<vb:if condition="$bbuserinfo[field8] == 'yes'">
Script or code here
</vb:if>
And watch how you spell 'yes' when you create your custom fields, case matters.