unexpected T_ELSE error?
-
So i have this error here….
everything SEEMS ok….
here’s the page.php code..<?php get_header(); ?>
<div id=”content-wrap”>
<div id=”content-top”></div><!– end id=”content-top”–>
<div id=”content”><?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class=”post”><div class=”post-title”>
<h2>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2>
</div>
<div class=”entry”>
<?php the_content(‘Read the rest of this entry »’); ?><?php wp_link_pages(array(‘before’ => ‘<p>Pages: ‘, ‘after’ => ‘</p>’, ‘next_or_number’ => ‘number’)); ?>
</div>
<?php else : ?>
<h2>Not Found</h2>
<p>Sorry, but you are looking for something that isn’t here.</p>
<?php endif; ?></div>
</div><!– end id=”content”–>
<div id=”content-bottom”>
<object width=”60″ height=”70″>
<param name=”movie” value=”images/site_by.swf”>
<param name=”wmode” value=”transparent”>
<embed src=”images/site_by.swf” width=”60″ height=”70″>
</embed>
</object>
</div><!– end id=”content-bottom” –>
</div><!– end id=”content-wrap”–>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
- The topic ‘unexpected T_ELSE error?’ is closed to new replies.