WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] cant find unexpected '}' (2 posts)

  1. Jay
    Member
    Posted 2 years ago #

    Can you see it?

    <?php $posts = query_posts($query_string .'&orderby=title&order=asc');while (have_posts()) : the_post(); ?>
         <div class="list">
    	<ul>
    <li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
            </ul>
    <?php endwhile; ?>
    	</div>
    <?php else : ?>
    	<h2>test it.</h2>
    <?php endif; ?>
  2. Jay
    Member
    Posted 2 years ago #

    now a unexpected T_ELSE

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.