This topic is locked
[SOLVED]

 complex query

12/17/2009 2:06:21 AM
PHPRunner General questions
T
titanic author

Hi,
say i have table for users :
user_id

username

passwd

Fname

Lname
and when i listed all users i click on "userx" to see his profile. Is there a variable for userx so that i can perfrom query comprises "logged_in user" and "userx"..
thanx in advance..

Pfeiffer 12/17/2009

Hello,
the actual logged in user is stored in $_SESSION["UserID"],

do you mean this.. ??
Best regards

Uwe Pfeiffer

T
titanic author 12/17/2009



Hello,
the actual logged in user is stored in $_SESSION["UserID"],

do you mean this.. ??
Best regards

Uwe Pfeiffer


yes but what about "userx" owner of profile i am(actual logged user) viewing..?
btw: thanx for all your replies.. u helped me alot..

J
Jane 12/17/2009

Hi,
I suppose 'user profile' means user view page.

In this case use View page: Before display event on theEvents tab. All value are in the $values array.

T
titanic author 12/17/2009

It is like ;
you log in => you are logged in user

then you search some guy. there will be several other users. (like anyother social networking sites) . You click that guy's profile.
so there are 2 different people . So I think there will be 2 different variables.
$_SESSION["UserID"] is one of them...
what about other one.. ?

J
Jane 12/18/2009

Hi,
please clarify what "guy's profile" means.

T
titanic author 12/18/2009



Hi,
please clarify what "guy's profile" means.


sorry... i misunderstood you... thnx again...problem solved... <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=46262&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />