I have a table which is created 'on the fly' from a database using the following code:
<tr>
<td><?php echo $row_buyerdetails['time_stamp']; ?></td>
<td><?php echo $row_buyerdetails['title']; ?></td>
<td><?php echo $row_buyerdetails['first_name']; ?></td>
<td><?php echo $row_buyerdetails['surname']; ?></td>
<td><?php echo $row_buyerdetails['email_address']; ?></td>
<td><?php echo $row_buyerdetails['phone_number']; ?></td>
<td><?php echo $row_buyerdetails['house']; ?></td>
<td><?php echo $row_buyerdetails['street']; ?></td>
<td><?php echo $row_buyerdetails['town']; ?></td>
<td><?php echo $row_buyerdetails['city']; ?></td>
<td><?php echo $row_buyerdetails['postcode']; ?></td>
<td>**LINK IN HERE**</td>
</tr>
<?php } while ($row_buyerdetails = mysql_fetch_assoc($result)); ?>
</table>
The code produces a table with the buyers basic details in it as shown below:
In the cells with the text "LINK IN HERE" I want a link to a page called buyerdetails.php which will show all the information about that person. How do I create the link so that it passes an identifying value to the page buyersdetails.php so that page knows which users details to look up in the database and display them?