urlencode php example
<p>I want to pass a php variable as part of the link. How can I achieve this? </p>

<pre><code>$x = 24; //$x is a php variable 
</code></pre>

<p>How to pass this value as part of a href="". A working example would be helpful.</p>
