This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > June 2004 > Master-Detail parameter problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Master-Detail parameter problem
megajam02

2004-06-11, 7:15 pm

Hello,
I have 2 PHP pages in a master-detail type configuration. The master performs
a query and shows a few fields from the desired table. I wanted to be able to
click on the a value in the table and see all the details for that particular
record on a detail page. I have turned the "firstname" field of my recordset
into a hyperlink with the following code as the hyperlink value:

userprofile.php?recordID=<?php echo $row_users['id']; ?>

I was hoping to create a url with the id field of my users table at the end,
so I could pass the unique identifier to the detail page. When I click on the
link once my page is published, everything is displayed except the actual
record number, therefore the parameter doesnt work. Basically, the url turns
out this way:

userprofile.php?recordID=

Any idea what I have done wrong?

As usual, thanks so much,
Chris

Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews