To use session, I only use :
session_start(); session_register('variable'); $variable="abc";
Is it suffisent or do I miss something (it does not work 😕 )
OD
You've done it right. Now, in next pages you have a $variable seted as some value it had at the end of execution in last script..
to use $variable in next scripts, first use session_start(); to tell php to recover active session (if there is one)
i think that is all, does it work now? [] icaro
you might also want to read these articles / tutorials on sessions
http://www.phpbuilder.com/columns/index.php3?cat=6&subcat=36
reg kevin
OK, I found the problem (me 🙂 )
to set the variable :
$_SESSION['var']=$variable_script1;
to read the variable if the form method is "POST" :
$variable_script2=$HTTP_POST_VARS['var'];
Many thanks to everybody for your remarks/help ! Bye OD.