954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Session Array

How do I do this:

on submit of the form, data will be saved in a session array variable.
The purpose is to use the submitted data page by page. After that, how do I extract them?

thats all..
thanks

rakwel10
Junior Poster in Training
68 posts since Oct 2009
Reputation Points: 10
Solved Threads: 0
 

First of all call a function which would start a session

session_start();

then transfer the data to an array like

$row=$_session['save_this'];

and at the end of the page please insert this code

$_session['save_this']=$row;
rv1990
Junior Poster in Training
51 posts since Aug 2011
Reputation Points: 17
Solved Threads: 7
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: