Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How do I display peronalized photo recordsets for seperate users after they have logged in?

Guest
Oct 16, 2009 Oct 16, 2009

Hi everyone,

I am using Dreamweaver CS3, MacBook Pro Leopard 10.5.6 and MAMP 1.7.

I have created a login system using the instructions from David Powers book The Essential Guide to Dreamweaver CS3, for a photgraphy website.

I have uploaded two pages from my login system login_success.php and username.php.

I am trying to achieve a situation where after the client has logged in successfully, they will be presented with a recordset of their own personal wedding photo's filtered from the image filenames in the database.

The username.php page is displaying one set of wedding photo's for client A, however when I click on client B's username listed in the list menu, then click the link for username.php, client A's photo recordset is still displaying, not client B.

How can I get the right photo recordset to display for the right client? Do I have to create separate recordsets for all of the different clients photos?

Please could someone help me with this, as I am going round in circles.

Thanks for your time.

TOPICS
Server side applications
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Oct 16, 2009 Oct 16, 2009

Heya,

read your thread title; got the just of your desire and disregarded your post. Use a filtered recordset filtered by session variable of MM_username to differentiate between logged in-users info displayed on page. So database table should have a column for username id and you simply filter your recordset based off the session variable of the user id and there you go - your recordset results will be displayed based off logged in users' id.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 16, 2009 Oct 16, 2009

Hi,

Is there a tutorial to show me how to do this step by step?

thanks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Oct 16, 2009 Oct 16, 2009
LATEST
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines