Re: Array in a $_session

From: Date: Mon, 16 Jun 2003 21:58:02 +0000
Subject: Re: Array in a $_session
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-151740@lists.php.net to get a copy of this message
On Tuesday 17 June 2003 05:43, Frank Keessen wrote: > Thanks but nothing is displayed on page 3.... Any thoughts??? > > (page 2) > > > $_REQUEST["submit"]=isset($_REQUEST["submit"])?$_REQUEST["submit"]:""; > if($_REQUEST['submit']!="") > { > foreach($_POST['test1'] as $i => $Value) { > $_SESSION['test1'][$i] = $_POST['test1'][$i]; > } You need to session_write_close() before redirecting. > header("Location: step3.php"); -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* We are not a loved organization, but we are a respected one. -- John Fisher */

« previous php.general (#151740) next »