On Tuesday 17 June 2003 13:23, Frank Keessen wrote:
(step 3.php)
?
session_start();
$aantalpers=$_SESSION[aantalpers];
$test1 = $_SESSION['test1'][$i];
You have not defined $i, so what did you expect to see here?
echo $test1;
for ($i=1; $i=$_SESSION['test1'][$i]; $i++)
{
echo
Hi Jason,
Maybe you can make it a little bit clear for me?
You have not defined $i, so what did you expect to see here?
session_start();
$aantalpers=$_SESSION[aantalpers];
$test1 = $_SESSION['test1'][$i];
So is it going to be: $test1[$i ]= $_SESSION['test1'][$i]; ???
Regards,
Frank
On Tuesday 17 June 2003 14:48, [EMAIL PROTECTED] wrote:
Maybe you can make it a little bit clear for me?
I can't because I don't know what you're trying to do. I can only point out
what I see [to me] are obvious mistakes.
You have not defined $i, so what did you expect to see here?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 17 June 2003 07:48
Maybe you can make it a little bit clear for me?
You have not defined $i, so what did you expect to see here?
session_start();
$aantalpers=$_SESSION[aantalpers];
$test1 =
Dear all,
Finnaly managed it (it's working! :)... But can you check if this is the way?
(step1.php)
?
$_REQUEST[submit]=isset($_REQUEST[submit])?$_REQUEST[submit]:;
if($_REQUEST['submit']!=)
{
session_start();
$_SESSION['test1'] = array();
$_SESSION['test1'] = $_POST['test1'];
Hi,
Still strugling with array's ; : Can you help me with this??
input type=\text\ name=\test1[$i]\ size=\6\
How can i put that value into an $_SESSION??
Something like $_SESSION[test1][$i]??
This is the way i put into a database
foreach($_POST['test1'] as $i = $Value) {
$query = INSERT
Frank Keessen wrote:
Still strugling with array's ; : Can you help me with this??
input type=\text\ name=\test1[$i]\ size=\6\
How can i put that value into an $_SESSION??
Something like $_SESSION[test1][$i]??
This is the way i put into a database
foreach($_POST['test1'] as $i = $Value) {
: Monday, June 16, 2003 11:34 PM
Subject: Re: [PHP] Array in a $_session
Frank Keessen wrote:
Still strugling with array's ; : Can you help me with this??
input type=\text\ name=\test1[$i]\ size=\6\
How can i put that value into an $_SESSION??
Something like $_SESSION[test1][$i
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] =
PROTECTED]
Sent: Monday, June 16, 2003 11:58 PM
Subject: Re: [PHP] Array in a $_session
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
Frank Keessen wrote:
Hi jason the rest,
Dit the session_write_close()! Nothing still displayed in step3, more
thoughts??
$_REQUEST[submit]=isset($_REQUEST[submit])?$_REQUEST[submit]:;
if($_REQUEST['submit']!=)
{
foreach($_POST['test1'] as $i = $Value) {
$_SESSION['test1'][$i] =
Keessen [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 4:06 AM
Subject: Re: [PHP] Array in a $_session
Frank Keessen wrote:
Hi jason the rest,
Dit the session_write_close()! Nothing still displayed in step3, more
thoughts??
$_REQUEST[submit]=isset($_REQUEST[submit
12 matches
Mail list logo