Is this even possible? Basically I made an IF statement saying
PHP Code:
if ($post[field5] == "Yes")
Do Something...
also tried it with single quotes around 'field5' but in neither case does the if statement ever become true even when I know Field5 is a Yes/No option box and set to "Yes" exactly.
Is there someway of accessing the custom field from the php file?
Any help is much appreciated.
--------------- Added [DATE]1277756882[/DATE] at [TIME]1277756882[/TIME] ---------------
Also tried $bbuserinfo but no go either.
--------------- Added [DATE]1277772863[/DATE] at [TIME]1277772863[/TIME] ---------------
OK got it working 2 ways...
$vbulletin->userinfo[field5]
and
$vbulletin->userinfo['field5']
My question is now- which is the 'proper' way to code it for maximum compatibility- is there a difference?