RE: [PHP] PHP within Frames
| From: | Daryl Meese | Date: | Mon, 20 Oct 2003 17:28:24 +0000 |
| Subject: | RE: [PHP] PHP within Frames | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-166785@lists.php.net to get a copy of this message | ||
Ok, this is just a guess but, it is based on experience.
Lets say you have the frames page (frames.php), it has two frames show_a.php
and show_b.php, the code for each is simple print "$a" and print "$b"
respectively.
If frames.php?a=hello&b=world is called and the frame sources are set to
show_a.php and show_b.php they will print nothing because they do not know
what the variables $a and $b are. If you change the frame src values to
show_a.php?a=$a and show_b.php?b=$b they will work.
So, my question to you is do your framed pages know the values of all
necessary variables?
Daryl Meese, Jr.
Magia Software
magiasoftware.com
-----Original Message-----
From: KB [mailto:kevin@bland99.freeserve.co.uk]
Sent: Sunday, October 19, 2003 4:46 PM
To: php-general@lists.php.net
Subject: [PHP] PHP within Frames
Hi,
Does anyone know why my PHP pages won't work in Frames? I have 5 frames,
each of which are displaying PHP pages.....and none of the PHP code works.
If I run the code outside of Frames it works fine!
I've can't find any decent references for PHP in Frames.
Your help would be appreciated.
Thanks
Kevin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php