Both ways. I would use session if the form(s) must be completed at once.
If someone can save forms 1 and 2 and another day return to complete the
remaining steps, then a database might be better.

  Also, if you use a database to hold temp info that must fly between the
forms, you would have to write more code (of if/else {
SELECT/INSERT/UPDATE/DELETE), and the performance overhead of so many db
queries might not be a good idea.

  Can't afirm 100% since I don't know your complete enviroment, but from
what you told and my personal experience, I would go with sessions.

--

Julio Nobrega.

Um dia eu chego lá:
http://sourceforge.net/projects/toca

Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884


"Kevin P" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
>
> I am trying to keep information that is input via a form. This form may be
> used 1, 2, 3, 4 or more times for each entry. Meaning that the form will
be
> filled out and added then another of the same form filled our and so on
> until the person clicks the the complete button.
>
> Can I hold this info by session or do I have to insert it into the
database
> after each time? I would rather not put it into the database until the
> session  is complete and they have a chance to verify their entry.
>
> Thanks
> Kevin
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to