[UPHPU] What is wrong here?

Jonathan Duncan jonathan at bluesunhosting.com
Mon Oct 29 16:13:57 MDT 2007


On 29 Oct 2007, at 15:48, Jake Spurlock wrote:

> I am at a little bit of a loss here. I have this string in Wordpress,
> and is throwing all kinds of text over the page.
>
> <div class="book_item"><a
> href="http://digg.com/submit?phase=2&url=<?php the_permalink();
> ?>&title=<?php the_title(); ?>&bodytext=<?php the_excerpt(); ?>"><img
> src="<?php bloginfo('template_url'); ?>/images/digg.gif" alt="Digg"
> border="0" /></a></div>
>
> You can see it in action here: http://skiutah.com/blog
>
> I am running Wordpress 2.3.1. I thought this might be the best place
> to ask. Any ideas?
>

Jake,

Where in Wordpress did you put that string?

It looks like you are populating the URL with invalid content.  Just  
take a look at one of those links compared with your code:

http://digg.com/submit?phase=2&url=http://www.skiutah.com/blog/?p=174&title=Mid%20April%20Blue%20Bird%20Pow%20at%20Snowbird&bodytext=%3Cp%20onclick=


Jonathan


More information about the UPHPU mailing list