Thread: PHP Question
View Single Post
Old 08-24-2011, 04:26 PM  
BSleazy
Confirmed User
 
Industry Role:
Join Date: Aug 2002
Location: USA
Posts: 6,721
I've moved it around which doesn't seem to help either.

Parse error: syntax error, unexpected T_STRING in *****/index.php on line 43

Code:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

<?php $key="featured_external"; $custom = get_post_meta($post->ID, $key, true); ?>

<?php if ( $paged < 2 ) {
$my_paged = 0;
} else {
$my_paged = ($paged ? 1) * get_option('posts_per_page');
}
$count = 1;
?>
<div class="site clearfix" id="rgmevlsotukficza6158">

<a href="<?php $key="featured_external"; echo get_post_meta($post->ID, $key, true); ?>"title="<?php the_title(); ?>">
<?php if ( has_post_thumbnail()) the_post_thumbnail('featured-thumb', array('class' => 'thumb')); ?>
</a>

<a target="_blank" href="http://www.link-paysite.com" class="join-link">Visit Paysite # 01 NOW !</a>
<h1><?php echo $my_paged + $count . ?. ?; ?> <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1>
<p><?php the_content(''); ?></p>
<a target="_blank" href="http://www.link.com" class="tour" id="ukplowdzgxbhtncyeqf7410">Free Preview</a>
<p class="clear"></p>
</div>
<?php $count = $count + 1; ?>
<?php endwhile; endif; ?>
__________________
icq 156131086
BSleazy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote