Parse error: syntax error, unexpected T_ENDWHILE
-
When i want too view a plugin it says “Parse error: syntax error, unexpected T_ENDWHILE in /home/cheapcon/cms/wp-content/themes/magic/single.php on line 11″… this is the code i wrote and i cant find the problem
<?php get_header();?> <?php get_sidebar();?> <?php include ('sidebar2.php'); ?> <div id="left"> <?php while(have_posts());?><?php while(have_posts());?> <H2><?php the_title();?></H2> <?php the_content();?> <?php endwhile;?> <?php comments_template('', true);?> </div> <?php get_footer();?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Parse error: syntax error, unexpected T_ENDWHILE’ is closed to new replies.