Page 1 of 1

Passing Values to multiple pages

Posted: Sat Mar 10, 2007 12:39 pm
by sarbas
Hi.


I want to pass the text box values from one page to multiple pages.
For example

User entered a value in a textbox ( first page). I get that value using following code in second page

Code: Select all

$sar=$_REQUEST['textboxname'];
echo $sar;
But I want to use this text box value or $sar in all of my pages.

Is there anyway... let me know......

Thanks With regards
Sarbas

Posted: Sat Mar 10, 2007 12:45 pm
by John Cartwright
You'll want to take a look at sessions if you want to keep data available during multiple page requests.

http://php.net/session should get you started, give it a read and then let us know if you have any problems.

Post subject: Passing Values to multiple pages

Posted: Sat Mar 10, 2007 2:49 pm
by sarbas
Hi Jcart,
Thanks For your reply...Am read it....And i implemented successfully..

Thanks
Sarbas