Forum Moderators: coopster
in url:
<a href="index.php?a=my%20variable">
$a = $_GET["a"];//a = "my variable";
in post:
<form method="POST" action="index.php">
<input type="text" name="a" value="my variable">
$a = $_POST["a"];//a = "my variable";
in session:
session_start()
$_SESSION["a"] = "my variable";
$a = $_SESSION["a"];//a = "my variable";
Hope this helps you to choose between methods. BTW passing the vars with window name and url is sometimes annoying to the user (it's not visually friendly)
Best regards
Michal Cibor