Encrypt a query string inside of an anchor tag
<pre><code>echo '&lt;a class="bigbtn" href="'.'videoview.php?song_id='.$video['song_id'].'&amp;'.'title='.$video['VideoTITLE'].'&amp;'.'group='.$video['GroupName'].'&amp;'.'artist='.$video['ByArtist'].'"&gt;&lt;/a&gt;' ;
</code></pre>

<p>what is the best way to encrypt the link when appear in the browser a that user cannot tamper with them?. it's not mission critical link. but want to make it a little more secure.</p>

<p>i was trying with the urlencode and decode with base64 , but i try to assign the value to a variable like that.</p>

<pre><code> $song_id = urldecode(base64_decode($_Get['song_id']));
</code></pre>

<p>but the conversion didnot happen.</p>

<p>,the decode didnot happen the way that i was thinking.</p>
