Elenna
12-01-2008, 07:11 PM
I am trying to make a custom .php page for my site, and have the basics working (PHP file linked to template and displaying okay).
I am trying to pull some fields by linking to the currently logged-in user's UserID. In my select portion I am trying to have it pull the info using $bbuserinfo[userid] and $userinfo[userid], but neither is working.
I have also tried setting a variable to the above, and referencing the variable in the query, but that doesn't work either.
Is there a way to do this? I'm so sorry for the newbie-ish question!
I am trying to pull some fields by linking to the currently logged-in user's UserID. In my select portion I am trying to have it pull the info using $bbuserinfo[userid] and $userinfo[userid], but neither is working.
I have also tried setting a variable to the above, and referencing the variable in the query, but that doesn't work either.
Is there a way to do this? I'm so sorry for the newbie-ish question!