PHP noob needs help with “unexpected T_STRING…”
-
Hey all,
I am new to PHP and am having trouble with a parse error.
The error its self is: “Parse error: syntax error, unexpected T_STRING in C:\xampplite\htdocs\wordpress\wp-content\themes\gumbo\index.php on line 16”
Now here is the code on my page:
<?php get_header(); ?> <div id="main"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post_title" id="<?php the_ID(); ?>"> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a> </div> <!– close post title –> <div class="post_content"> <?php the_content(__(‘Read more…’)); ?> </div> <!– close post content –> <div class="post_tag"> <?php the_time(‘F dS, Y’) ?> | <?php the_time(‘h:i a’); ?> | <?php the_category(‘, ‘) ?> | <?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?> | <?php edit_post_link(‘Edit’,”,”); ?> </div> <!– close post tag –> <?php comments_template(); ?> <?php endwhile; else: ?> Sorry, but you are looking for something that isn‘t here. <?php endif; ?> </div> <!a€“ close main a€“> <?php get_sidebar(); ?> <?php get_footer(); ?>
Line 16 is “<?php the_content(__(‘Read more…’)); ?>”, and I have no idea whats going on.
Thanks for your help!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP noob needs help with “unexpected T_STRING…”’ is closed to new replies.