This works, but it is not what i'd like to get.
To explain more :
I have a page where user enter their name and email.
Then, depending on the $item variable value passed through the URL, i'd like to save variables in the session.
EXAMPLE :
Page "page_01.php":
<form method="post" action="page_02.php">
<input type="hidden" name="item" value="001">
<input type="text" name="name" value="MyName">
<input type="text" name="email" value="MyEmail">
</form>
Page "page_02.php":
I'd like to ge something like :
$name.$item = $name;
$email.$item = $email;
session_register "$name.$item";
session_register "$email.$item";
so as i can register more name and email variables using different item numbers.
If someone could help it would be much appreciated.
Thanks in advance
Conspi