Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Hi,
Is there a tutorial to show me how to do this step by step?
thanks.
Copy link to clipboard
Copied
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more