php add GET at last string
<p>i want to add <code>utm_source=twitter</code> in the of the links</p>

<p>i have a link let say
<a href="http://abcd.com/news?id=1" rel="nofollow">http://abcd.com/news?id=1</a></p>

<p>it need to be <code>http://abcd.com/news?id=1&amp;utm_source=twitter</code></p>

<p>if <a href="http://abcd.com/news/1" rel="nofollow">http://abcd.com/news/1</a></p>

<p>it need to be </p>

<pre><code>http://abcd.com/news/1?utm_source=twitter
</code></pre>

<p>any idea?</p>
