Here is a simple method to Pass variables from one page to another
Here is the code in first page
<a href="page2.php?nam=sree">click here</a>
In your second page you can access variable name as
$name=$_GET['nam'];
echo $name;
This code will display sree
0 comments:
Post a Comment