Posts: 1,832
Location: Somewhere else entirely
|
How is the form supposed to behave? Do you want people to be able to fill out an unlimited number of forms, and have the server remember and store the results for all of them? I would advise using sessions for this - you need to call session_start() at the top of all the pages that need to manipulate form data. Then you can assign things to elements of the special $_SESSION array, and these are carried over to the next page. You can even store multi dimensional arrays, so you might end up setting
$_SESSION['page'][1] = $_POST
on page one, which copies the entire form submission into the active session. Then on page two you can say
$_SESSION['page'][2] = $_POST
etc until all the forms are filled. Then when finished, your database insert code can look at the $_SESSION array which has all the data from as many pages as you want all in one place.
Sound like it might solve your problem? Let us know if you want more help on it.
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';
Please login or register to view this content. Registration is FREE (aka MSN handwriting for forums)
|