Instead of manually building html tags with php echo statements, use eztag!