[PHP] [php3] passing array of objects from form From: Lucy Perry (lucie_perrie <email protected>)
Date: 09/22/00

The user fills out an html form, and the data entered
is used to create a new instance of a charge object.
The user can go through the form several times in a
row, to fill in data for several charges, which will
then be totalled up at the end. Each time the user
"submits" the form, I stick all data that needs to be
retained into a "hidden" html input. I am sticking the
charge objects into an array, as they get created, and
I'm trying to pass this array along as a hidden input.

I have read that I need to serialize() and urlencode()
objects and arrays in order to pass them in this
fashion. I do this, but then when the data is
urldecode()d and unserialize()d at the next iteration
of the script, the charge objects that come out are
apparently not charge objects anymore. I can't access
their variables, and can't call their functions.

Should I be able to do this?
Or is there a better way?
Or is what I want simply not possible?

Would really appreciate any feedback. Thanks!

=====
-------------------------
    Lucy Elaine Perry
      lep <email protected>
-------------------------

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>