Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2007
    Location
    Concord, NH
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Converting results into a link

    Hello All. Any help here would be appreciated.

    I have created a MySQL DB and I am doing well developing it. The customer threw me a curveball that I can't seem to figure out.....

    The database is somewhat of a family site that family members can go to and register with a questionaire. When they fill out the questionaire they are thanked and then brought to a page where all the first and last names of the people that registered are listed.

    The first column in the table is name. The customer would like to be able to click on any of the displayed names in the list and it would bring them to a page showing all the answers of the questionaire.

    My question is how do I display all the names in the column and then link them to thier respective row when clicked. Is there a way to create a link out of each of the results?

    For example.....

    Tom Smith <-----------when clicked would show a page with all his details

    Thanks in advance.....

    Ken

  • #2
    Senior Coder
    Join Date
    Mar 2003
    Location
    Atlanta
    Posts
    1,037
    Thanks
    14
    Thanked 30 Times in 28 Posts
    I believe what you are looking for is commonly referred to as a Master/Detail page. The Master page being the one with the linked names gives general basic information about several different records. And the Details page being the a more in depth page with specifics about a particular record. Although, this will require a MySQL DB this question is better suited for the PHP forum. Alternatively, you can search either here in the forum or you can GOOGLEPHP master-detail tutorials.
    Most of my questions/posts are fairly straightforward and simple. I post long verbose messages in an attempt to be thorough.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •