Jake McHenry wrote:

----- Original Message ----- From: "Chris W. Parker" <[EMAIL PROTECTED]>
To: "Jake McHenry" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, November 29, 2004 6:26 PM
Subject: RE: [PHP] PHP and Frames?


Jake McHenry <mailto:[EMAIL PROTECTED]>
   on Monday, November 29, 2004 2:41 PM said:

Was just wondering if it is possible to create dynamic frames within
a page. Like have 3 output sequences, one for frame source, then 2
for actual pages?


Frames and PHP are not interdependent on eachother. Each frame within
the frameset can be a PHP page if you need them to be.

Or do frames have to have an actual page to load?


I'm sorry but I don't understand what you mean by "an actual page to
load". A frame within a frameset can load anything the regular browser
window can load.

Also, since this is not really PHP related (unless I'm missing the
point) you might like to try an a general web design list instead. Or
you could email me off list.



Chris.



Right now I only have 1 php file, which is outputing all of the html. Is there a way I can have that 1 php file output the frame source page, along with the links, header, and target page? As I said, I could have the php file output the html to the actual files, but is there a way I have have all this in 1 php file? That's what I'm asking I guess....

Thanks,
Jake McHenry
Nittany Travel MIS Coordinator
http://www.nittanytravel.com
(570) 748-6611 x108
sure, but you'd need to somehow distinguis between situations. The easiest would be using a GET var. eg:
<frameset src="page.php?id=top"><frameset src="page.php?id=left">


and in the page.php:
switch($_GET['id']) {
        case 'top':
                // html for top
                break;

        case 'left':
                // html for left
                break;
}
etc.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to