PDA

View Full Version : Some php help


Sylvus
05-02-2004, 11:00 PM
I have a basic .php file that I include through non-vb pages, calling in the global.php file to pull in a registered member's information. Works like a charm. My question is, how can I detect what style a member is using?

I'd like to change specific wording/graphical images based on the style they've selected and I have no idea what the vB variable is to do this to run a check in this basic .php file I have running.

Help?

Thanks,

Syl...

Boofo
05-02-2004, 11:06 PM
I would think you could use:

if ($bbuserinfo['styleid'] = '5')
{
Do stuff here
}

Sylvus
05-02-2004, 11:08 PM
Thanks! I gave that variable a shot and it worked perfectly.

Syl...

Boofo
05-02-2004, 11:12 PM
You had doubts? ;)