Hi kh99, thank you for your response. This is not the first time you have helped me and I'm very thankful.
If I do not include the array() in the conditional, I receive a malformed conditional error when compiling.
Code:
<vb:if condition="in_array($memberpost[userid], $memberpost[postbuddies])">
If I do this (below) I receive the same error even when including array().
Code:
<vb:if condition="is_array($memberpost[userid], $memberpost[postbuddies])">
In the PHP I have:
PHP Code:
$postbuddies= explode(' ', trim($userinfo['buddylist']));
$memberpost[postbuddies] = $postbuddies;
Thank you again for taking the time in teaching me.