Possible to know UserID (pretemplate) in php to load content. [] - new question
Making a costum page, and i got myself stuck..
Got a table with userinformation store in various colums,
and i want it to load so when a use enters that page "from anywhere"
if he is logged in, it shows his stats/content
and for that i would like to do
SELECT * FROM table WHERE userID
but since i dont have a template "first" im not sure how i can check userID
in php, cause i would be missing bbinfo.
proberly crappy explained..
let me know if i need to clear it up a bit..
EDIT : basicly i want this function in PHP
{vb:raw bbuserinfo.userid}
|