Ok, this may be a little confusing. But how would I go about registering an unknown amount of session variables? For instance, I have a form created from information in a text file. Now, if that file changes, the amount of fields that are displayed and used are changed.
How would I go about registering all of those fields in a session? For example, would I do it like this:
session_register($var1, $var2, $var3...);
or like this:
session_register($$var1, $$var2, $$var3...);
or neither?
I want the variable to be registered and to maintain it's value.
Thanks for the help.