I've got a table that brings back results from my database. I want to link one of the fields to another page, passing along the ID to that page. I've worked it out in plain html as follows:
<td><a href="edit_post.php?jobID=<?php echo $jobs['job_id']; ?>"><?php echo $jobs['job_title']; ?></a></td>
This is of course just one of the rows. My problem is that I'm using php to loop through the results and echo back more rows as needed, placing the other records in these rows.
My problem is that I can't figure out how to echo the above statement. If I try as it is, it gets broken up because of the quotes. How can I accomplish this so that every record can be linked and pass its own ID along?