Hi,
I am trying to register an array in a session, but am having no luck.
What I have is a form with set fields on which is processed a certain number
of times.
Upon submitting the form each time, I run the following:
session_register(fieldtext[.$page.]);
where fieldtext is the name of a
I am trying to register an array in a session, but am having no luck.
[..]
where fieldtext is the name of a field on the form, and $page is the
page number, which increases by one each time the form is submitted.
? php
// Register the Session Variable, and increment this page
Hi all!
Is it possible to register an array to a session with PHP 4?
If yes, how can it be done?
Cheers,
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.gruppe-69.com/
ICQ: 100601600
--
--
PHP General Mailing List (http://www.php.net/)
To
PM
Subject: [PHP] registering an array to a session?
Hi all!
Is it possible to register an array to a session with PHP 4?
If yes, how can it be done?
Cheers,
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.gruppe-69.com/
ICQ
To: '[EMAIL PROTECTED]'
Subject: [PHP] registering an array to a session?
Hi all!
Is it possible to register an array to a session with PHP 4?
If yes, how can it be done?
Cheers,
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.gruppe-69.com/
ICQ
No idea if this will help, but not sure why you are serializing the array...
// sessionarray.php4
session_cache_limiter("");
session_start();
session_register('name');
session_register('city');
session_register('state');
session_register('postcode');
session_register('pagecount');
if
Can somebody please help me out??
I'm going nuts...
what's wrong with this piece of code?
pre
if(!isset($script_total_time))
{
// register the session variables to keep track of
step times
7 matches
Mail list logo