Can anyone find whats wrong with this? For the life of me I cant.
Situation:
I have a profile field. Two checkboxes. Users can check one, or both. If they check one, the results are fine. If they check both however, the default comes up.
I've tried && and all the ways to combine statements I can think of. No cigar.
PHP Code:
<!-- NEW POSTS -->
<if condition="$bbuserinfo['field36'] & 1"><if condition="$bbuserinfo['field36'] & 2">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]exclude=190,169,191,210,215,213,211,214,205,139,193,192,194,67,115,94,133,150,173,171,199&do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<if condition="$bbuserinfo['field36'] & 1">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]exclude=190,169,191,210,215,213,211,214,94,133,205,150,171,173,199&do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<if condition="$bbuserinfo['field36'] & 2">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]exclude=190,169,191,210,215,213,211,214,205,139,193,192,194,67,115&do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]exclude=190,169,191,210,215,213,211,214,205&do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
</if></if></if></if>
<!-- / NEW POSTS -->
--------------- Added [DATE]1271988673[/DATE] at [TIME]1271988673[/TIME] ---------------
nm
not sure what I did different, but AND worked this time around
--------------- Added [DATE]1271988707[/DATE] at [TIME]1271988707[/TIME] ---------------
lock er up!