I simply include the
global.php file and use things like
$bbuserinfo['username'] on the page.
Like so:
PHP Code:
include('global.php');
echo 'Welcome '.$bbuserinfo['username'].'';
The above.. works fine.. on its own.
But Im using this in a php page with its
own variables.
Similiar to this:
PHP Code:
include('myconfig.php');
include('global.php');
echo 'Welcome to <a href="'.$site_url.'">'.$site_name.'</a>, '.$bbuserinfo['username'].'.';
And by using that approach.. by including
global.php it seems to clear all the values stored in my own variables..
At the end of the day, I only seem to be able to show one set or the other.
HELP!