Re: Multiple Forms and 1 SQL table

From: Date: Thu, 04 Jul 2002 01:50:06 +0000
Subject: Re: Multiple Forms and 1 SQL table
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-105342@lists.php.net to get a copy of this message
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

« previous php.general (#105342) next »