I keep getting, syntax error, unexpected $end on line 48 when trying this script can someone take a look at and see what i did wrong? <?php get_header(); ?> <div id="content-wrap"> <?php include 'top-nav.php'; ?> <div id="content"> <?php if (have_posts()) : ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h1><?php the_title(); ?></h1> <div class="entrytext"> <?php the_content('More »>'); ?> </div> <div class="post-sub"> <div style="float: left; width: 50%;"> Posted by Biz: <?php the_category(', ') ?> <?php edit_post_link(' | Edit', '', ''); ?> </div> <div style="float: right; width: 50%; text-align: right;"> <?php comments_rss_link('RSS'); ?> </div> <div style="clear: both;"><!-- --></div> </div> <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?> </div> <?php edit_post_link('(Edit Page)', '<p>', '</p>'); ?> </div> <?php endwhile; endif; ?> </div> <!-- end content wrap --> <?php get_sidebar(); ?> <?php get_footer(); ?>