urlencode issue, not translating to Twitter (or anywhere)
I’m using a simple TweetThis link with the_permalink and the_title and encoding both, but the output is still getting messed up.
Here’s the code:
<a href="http://www.twitter.com/home?status=Reading:%20<?php urlencode(the_title()); ?>%20-%20<?php the_permalink(); ?>">TweetThis</a>
Here’s the output:
What am I missing?
- The topic ‘urlencode issue, not translating to Twitter (or anywhere)’ is closed to new replies.