Re: Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/20/07, Dan Shirah <mrsquash2@xxxxxxxxx> wrote:
Looking for some direction here.

I have a form that collects user data.   When an employee opens the form
they enter in all of the user data for an account, however the account can
have multiple users so the employee has the option to "Enter another user
for this account" and they can do this for as many users as the account
holds.

What I can't figure out is how to store the first set of user details, have
the blank form come up again, store the second set of user details, have the
blank for come up again, insert a third set of details and then have all
three sets submit to the database at the same time.

Did the make sense?

Would using a session work to store all this user data for a single
submission?

Sure you could add an array item in the session for each submit, but i
would just recommend to add each item just after submitting.
Because if they guy is adding a lot of users, and his internet stops
working for example, all data is lost when using sessions, having it
already stored in the database would be nice then :)

Tijnema


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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux