|
Posted by Juliette on 08/11/06 03:34
mootmail-googlegroups@yahoo.com wrote:
> damn wrote:
>> What's the correct way to go about this?
>
> Perhaps the easiest solution is to populate hidden form elements with
> the values you wish to persist from the previous form. This way, those
> values will be available in the $_REQUEST array when you submit the
> form again.
>
Alternatively, if the two forms are shown at the same time on the page,
change your code to one form instead of two and use different values for
the submit button of the 'virtual two' forms.
In your php script, all (filled in) $_POST values will then be
available, and you can let your script decide what to do based on the
value of submit.
Grz, Jrf
[Back to original message]
|