Copy link to clipboard
Copied
Hey everyone
I have a dynamic table displaying basic details on students. I would like to be able to make the contents of the ID cell into a hyperlink that then passes that ID as a URL variable in the link to a details page. As the cell is dynamic the ID will be different in each case.
Can anyone help with this?
Many thanks in advance
1 Correct answer
You didn't metnion your language but the concept is the same. Append the dynamic URL to a hyperlink syntax. php example below:
<a href="/page.php?id=<?php echo $your_recordset['id']; ?>">link</a>

Copy link to clipboard
Copied
You didn't metnion your language but the concept is the same. Append the dynamic URL to a hyperlink syntax. php example below:
<a href="/page.php?id=<?php echo $your_recordset['id']; ?>">link</a>
Copy link to clipboard
Copied
Thanks very much! Sorry about not mentioning the language (it was PHP). This is spot on so thanks again

