Jump to content

Changing links depending on selection


Recommended Posts

Hello,

I am new to this so please bear with me.  I have a site that holds information for a number of different clients.  The data for the clients is held in a MySQL database and the information therein is accessed by PHP (which I created in Dreamweaver MX). 

On the home page there is a list of all the clients.  Let's say clientA has accesssed this page, he would then click on his name, clientA and be taken to a page that contain some basic information about himself.  Up to here I am fine and the page is populated with the relevant data from the database.

However, on this page I would like to have a few more links that take the client to more detailed information about himself.  But here is my problem.  How do I make it so that these links (on clientA's basic information page) link to the other pages that will pull data from the database that relates to clientA?  So let's say clientB logs on, clicks the clientB link and therefore is taken to the basic information about clientB, the links that previously took clientA to more detailed information about clientA will now take clientB to more detailed information about clientB.

If that makes any sense I would appreciate any help I can get.

Thanks,
Paul
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.