[PHP] when to enter submitted in mysql?

2005-11-29 Thread [EMAIL PROTECTED]
Hi to all! I have form made on 4 pages (by groups of questions). Right now my code works this way: once somebody submit the first page of the form his/her submitted info is entered in database with status=temp. I store the ID (insert_id()) in session and then every time visitor submit the next

RE: [PHP] when to enter submitted in mysql?

2005-11-29 Thread Jim Moseby
Hi to all! I have form made on 4 pages (by groups of questions). Right now my code works this way: once somebody submit the first page of the form his/her submitted info is entered in database with status=temp. I store the ID (insert_id()) in session and then every time visitor

Re: [PHP] when to enter submitted in mysql?

2005-11-29 Thread David Grant
Personally, I'd keep it all in the session and write at the end, but this approach has at least two drawbacks: 1. The user cannot complete the process at a later point. 2. You cannot conduct analysis of part-completed data. Cheers, David Grant [EMAIL PROTECTED] wrote: Hi to all! I have form

Re: [PHP] when to enter submitted in mysql?

2005-11-29 Thread Curt Zirzow
On Tue, Nov 29, 2005 at 11:57:49AM -0500, Jim Moseby wrote: Hi to all! I have form made on 4 pages (by groups of questions). Right now my code works this way: once somebody submit the first page of the form his/her submitted info is entered in database with status=temp. I store