Quantcast
Channel: Topic Tag: error 500 | WordPress.org
Viewing all articles
Browse latest Browse all 1704

MortimerOnline on "Parse error: syntax error, unexpected $end in index.php"

$
0
0

Hello again!

The problem seems to be here. Any suggestions? Tx! :)

<?php query_posts('category_name=sure-service&showposts=2');
							if ( have_posts() ) : while ( have_posts() ) : the_post();
							?>
								<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
								<div class="est_text">
								<?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?>
								<? if(has_post_thumbnail()) { ?>
									<img src="<?php echo $image[0]; ?>" alt="" width="76" height="76"/>
									<? } else { ?>
										&nbsp;
									<? } ?>
								<? ob_start();
								the_content();
								$content = ob_get_clean();
								echo substr($content,0,250); ?>
								</div>
								<?
								endwhile; else:
								endif;
								wp_reset_query(); ?>
							</div>
						</div>

Viewing all articles
Browse latest Browse all 1704

Trending Articles