1st thanks to you both for a speedy reply too my problem, i have tried what you have said but its not worked for me. I have added the code so you can take a look
<td align="center"><a href="details_page.php?id=<?php echo $row_rs_details[`id`]; ?>">Details</a></td>
When i look at the code the [`id`] part is not turning red which may be the problem
regards Karl