Page 1 of 1

making dynamic table ID rows links to detail pages

Posted: Mon Jul 01, 2002 4:07 pm
by fariquzeli
I have a table setup so that it pulls all the data from each table row and displays it on the page. I want to make the userid table row all be hyperlinks to the detailed pages pertaining to the particular record that is clicked on. The problem is, is that the first row is showing up fine, shows up dynamically with each row from my sql db that is different, except that under the ID row that I have some html hyperlinking code around, pulls record id number one for each row, thus linking to the detailed view page for the first record only, here is the code I have around that tablerow:

Code: Select all

<a href="http://www.youngdental.com/surveys/admin/productDetails.php?ID=<?php echo $row_products&#1111;'ID']; ?>"><?php echo $row_products&#1111;'ID']; ?></a>
anyone know how to make it display the ID dynamically, while still linking to its detailed record page dynamically as well?

Posted: Mon Jul 01, 2002 4:13 pm
by fariquzeli
whoops

so sorry, i've done it again

found my mistake it was 3 lines down.
hehe thanks again.