I have the following:
editpost.php
PHP Code:
$xyz = "Test message";
$xyz = handle_bbcode_view_message($xyz);
functions_bbcodeparse.php
PHP Code:
function handle_bbcode_view_message($code)
{
$postInfo = fetch_postinfo($postid);
$code .= $postInfo['post'];
return $code;
}
This is returning nothing other than a single copy of the post. It should return two copies of the same post according to what I (think) I have put together. Any insight into what might be wrong with this?