How do i associate a particular information such as Picture or comments to a logged in User. I want to do it such that when a particular user is logged in, it displays his or her pictures or albums and comments associated with his account. but i dont seem to be getting it. Please help me out, its urgent.
uthman4u2nv
0
Light Poster
Recommended Answers
Jump to PostHi
This is very simple just store user identity(eg userid) in session and every time get the data associated with user from database or in case you are working with file's like images just store the file name in database in association with user.
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.