Reply to Re: How to tell PHP to write data to another frame

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация