Jump to content

Passing POSTed variables in my iFrame


suess0r

Recommended Posts

hey guys,

i'm trying to have my site be 1 main page.
-header-> never changes and is always on top
(body) -> passing the pg1 variables to pg2 to pg3 but staying in an iframe that can scroll but is only refreshing on the body of the page and not the top and bottom (to save loading time)
-footer-

i am capable of doing everything with my variables as is.. (without using iframes)... but i'm a little confused on how i will POST my variables to the iframe - body, and if it will still be pg1.php, pg2.php, pg3.php that i'm POSTing to, and if the iframe body will be those pages?

i can post code if u need, just trying to get my bearings.. thanks
Link to comment
https://forums.phpfreaks.com/topic/30258-passing-posted-variables-in-my-iframe/
Share on other sites

hey, thanks so much.. but 1 more question

if i don't know the Height of the page that returns (Depending on the query size) is there a way I can figure out the height through my loop of some sort using PHP to set it at that, or some auto funciton??? thanks

[quote] <? include('mheader.php'); ?>

<table width="190" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td colspan="3" align="center" valign="top"><iframe src="mpg1.php" width="190" height="420"
frameborder="0" scrolling="no" name="pg1" align="center"> Frame's not supported by your browser, sorry...</iframe></td>
  </tr>
</table>
<p>&nbsp;</p>
<? include('mfooter.php'); ?>[/quote]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.