> 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
session_register("fieldtext");
$_SESSION["fieldtext"][".$page."]++;

// Show all pages
print_r($_SESSION["fieldtext"]);

?>

That should get you started.

-- 
Dan Hardiker [[EMAIL PROTECTED]]
ADAM Software & Systems Engineer
First Creative Ltd



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

Reply via email to