|
Posted by NC on 11/18/05 19:41
Stefan Mueller wrote:
>
> I've a frameset (test-submit-main.html) with 2 frames. The user works within
> frame 1 (test-submit-frame1.html). In frame 2 (test-submit-frame2.html) I
> collect some data which are stored in hidden fields. If the user presses
> submit, the hidden fields of frame 2 gets sumbitted.
>
> Unfortunately the output generated by PHP (test-submit.php) is shown in
> frame 2.
>
> Does someone know how to tell PHP to send the data to frame 1?
Easy. Right now, you have:
<form name = "MyFormFrame1" action = "" method = "post"
accept-charset = "iso-8859-1">
Change it to this:
<form name = "MyFormFrame1" action = "" method = "post"
target="MyFrame1" accept-charset = "iso-8859-1">
Cheers,
NC
Navigation:
[Reply to this message]
|