On Wed, Jul 03, 2002 at 07:18:45PM -0600, CM wrote:
>
> What do you do if you have a huge form that you want broken up into several
> different forms but each time the submit button is pressed the info is saved
> to the sql table.
>
> Do you just create the table on the first form submit and then on each
> subsequent form you just update the table?

In that second paragraph, I suspect you mean "record" rather than "table."
Your approach sounds fine.  Grab the Insert ID from the INSERT INTO
statement and put it into a hidden field in your subsequent forms.

--Dan

-- 
               PHP classes that make web design easier
        SQL Solution  |   Layout Solution   |  Form Solution
    sqlsolution.info  | layoutsolution.info |  formsolution.info
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
 4015 7 Av #4AJ, Brooklyn NY     v: 718-854-0335     f: 718-854-0409

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

Reply via email to