Hi,

The orignal code was in the first mail; again;

$_REQUEST["submit"]=isset($_REQUEST["submit"])?$_REQUEST["submit"]:"";
if($_REQUEST['submit']!="")
{
$dater=$_POST['$dater'];
$aantalvol=$_POST['$aantalvol'];
$aantalkind=$_POST['$aantalkind'];
$aantalvol=addslashes($_POST['aantalvol']);

session_start();
$_SESSION['dater'] = $dater;
$_SESSION['aantalvol'] = $aantalvol;
$_SESSION['aantalkind'] = $aantalkind;
$_SESSION['1pk'] = $eenpk;
$_SESSION['2pk'] = $tweepk;

header( "Location: test3.php" );
}



test3.php

<?
session_start();
echo $_SESSION['aantalvol'];
?>

Txs for the help,

Frank
----- Original Message ----- 
From: "Emma Jane Hogbin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 09, 2003 8:49 PM
Subject: Re: [PHP] Session not working?


> On Mon, Jun 09, 2003 at 08:18:10PM +0200, Frank Keessen wrote:
> > It's pointing towards the booking.php
> > (which is the 'sender' page..)
> > Exact error message: The Page cannot be displayed..
> > So it's no 404.. I think..
> 
> Ah. So it's not even moving off the original page... I don't have your
> original script and it's not in the archives yet; however, are you using
> the right syntax for the header function?
> 
> header("Location: http://www.example.com/";);
> 
> Note that the Location must be uppercase L.
> 
> -- 
> Emma Jane Hogbin
> [[ 416 417 2868 ][ www.xtrinsic.com ]]
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to