matt2kjones
10-13-2002, 08:18 AM
Ok i have got a problem.
I want to use php4 sessions
and i have the book beginning php4
but it doesn't tell you how to use sessions very well.
So, if i got a form, on say test.php which asks then user to type anything and it puts it into a varialbe called $example and then moves to test2.php
how would i store the $example variable from the form on tast.php into a new session???
also, say for example, i then had a link on test2.php that moves the user to test3.php, how do i get the data back from the session and display the data from the form, on the screen using echo()???
if someone could explain this to me, then that would be great.
thanx allot
Matt
I want to use php4 sessions
and i have the book beginning php4
but it doesn't tell you how to use sessions very well.
So, if i got a form, on say test.php which asks then user to type anything and it puts it into a varialbe called $example and then moves to test2.php
how would i store the $example variable from the form on tast.php into a new session???
also, say for example, i then had a link on test2.php that moves the user to test3.php, how do i get the data back from the session and display the data from the form, on the screen using echo()???
if someone could explain this to me, then that would be great.
thanx allot
Matt
