O.K., this seems to work:
---
$thevals=array(alpha,beta,gamma,delta,epsilon);
while (list($key, $val) = each($thevals)) {
if ($HTTP_POST_VARS["$val"] && (!session_is_registered("$val"))) {
session_register("$val");
}
}
---
bill wrote:
> How can I correctl
ailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 11:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] session vars with recursive form
How can I correctly register session vars on a recursive form?
If I call a page repeatedly using:
The earlier variables keep getting lost.
How can I registe
How can I correctly register session vars on a recursive form?
If I call a page repeatedly using:
The earlier variables keep getting lost.
How can I register the session variables correctly? Each subsequent
page should set its own variable while remembering all those previously
set.
Right n
3 matches
Mail list logo