Jump to content

[SOLVED] passing variables through an iframe


only one

Recommended Posts

As far as I know, an iframe is a seperate page. The only way I personally can think of doing this is to use a $_POST. Just have the parent frame send a POST variable to the child frame. It won't happen in realtime (meaning you will have to have the child iframe refresh), but it will work.

yup... iframes are completly seperate from the originating page... only 4 ways of passing info from one page to another...

$_POST... if you create a form, with a target of that frame...

$_GET... where you ?var=$var;...

$_SESSION...

and cookies...

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.