RE: [PHP] one last question ..
| From: | Christensen, BruceX R | Date: | Mon, 07 Aug 2000 19:42:15 +0000 |
| Subject: | RE: [PHP] one last question .. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-10526@lists.php.net to get a copy of this message | ||
You might want to do something like this:
(this is top.php:)
<frameset cols="50%,50%" name="topframe">
<frame name="frame1">
<frame name="frame2">
</frameset>
Then, for your form do this:
<form target="topframe" action="top.php">
</form>
When top.php is called, it should build the frameset (frame1 and frame2).
When your form runs, it calls top.php, which rebuilds the frameset and
reloads the two new files (which could be top.php?frame=1 and
top.php?frame=2) with the new info.
However, you may want to reconsider using frames, as this type of setup is
usually better accomplished using a table (and it's simpler that way, too).
Unless you have a compelling reason to use them, I'd advise against it.
--Bruce
Bruce Christensen
Intel Corporation
brucex.r.christensen@intel.com
-----Original Message-----
From: Robert J. Cissell [mailto:rcissell@tampabay.rr.com]
Sent: Monday, August 07, 2000 12:35 PM
To: PHP List
Subject: [PHP] one last question ..
Ok, here's my last question for the afternoon:
I have two frames, left and right. I have a form in the right frame, that
when it is being processed, I want that to happen in the right frame, but at
the same time, I want to change the page being viewed in the left frame.
Can anything be done with this in PHP or am I off to search through the
javascript archives? Thanks for the guidance
Robert