<tr> <td><a href="viewItem.php?id=<?php echo $row['Id']; ?>"<?php echo $row['title']; ?></a></td> </tr> PHP:
Well, after the href end quote, you have not given a ">". so thats why the problem's there. <tr> <td><a href="viewItem.php?id=<?php echo $row['Id']; ?>"><?php echo $row['title']; ?></a></td> </tr> That should work