Passing the variable whose value can change every time, from a php page to another
<p>I have a form from which i'm getting the values of two variables say username and password using POST method.</p>

<pre><code>$Username=$_POST['Username'];
$Password=$_POST['Password'];
</code></pre>

<p>I tried passing these variables to another php page using the following code.</p>

<pre><code>&lt;a href="abc.php?Username=$Username &amp; Password=$Password"&gt;Click here&lt;/a&gt;
</code></pre>

<p>In the other page,i tried printing the variable as follows.</p>

<pre><code>$User=$_GET['Username'];
echo $USer;
</code></pre>

<p>But,I didn't get the value stored in the varible. Instead,its printing "$Username" as the value as given in the anchor tag.</p>

<p>I just need to print the value stored in the variable $Username.</p>

<p>Please, help. Thanks in advance.</p>
