I have a form from which i'm getting the values of two variables say username and password using POST method.
$Username=$_POST['Username'];
$Password=$_POST['Password'];
I tried passing these variables to another php page using the following code.
<a href="abc.php?Username=$Username & Password=$Password">Click here</a>
In the other page,i tried printing the variable as follows.
$User=$_GET['Username'];
echo $USer;
But,I didn't get the value stored in the varible. Instead,its printing "$Username" as the value as given in the anchor tag.
I just need to print the value stored in the variable $Username.
Please, help. Thanks in advance.