October 29, 200917 yr Hi, Can anyone tell me why I'm getting this error: <div class="header"> <h1> <a href="" <?php echo="" $feed-="" > ERROR HERE unexpected = '>' missing get_permalink(); ?>"><?php echo $feed->get_title(); ?> </a> </h1> <p> <?php echo $feed->get_description(); ?> </p> </div> I got the code from here, so should be working fine http://simplepie.org/wiki/setup/sample_page Thanks, Emma
October 29, 200917 yr your code looks different to the one on the sample. Should be <div class="header"> <h1><a href="<?php echo $feed->get_permalink(); ?>"><?php echo $feed->get_title(); ?></a></h1> <p><?php echo $feed->get_description(); ?></p> </div>
October 29, 200917 yr Author your code looks different to the one on the sample. Should be <div class="header"> <h1><a href="<?php echo $feed->get_permalink(); ?>"><?php echo $feed->get_title(); ?></a></h1> <p><?php echo $feed->get_description(); ?></p> </div> Cheers, when I pasted the code into visual basic editor, it messed up a bit, I ended up sticking it into notepad and saving and re-opening in my usual editor
Create an account or sign in to comment