gojakie Posted December 22, 2008 Share Posted December 22, 2008 Dear friends, I always use frontpage to create an html page and then mix it up with my dynamic content and rename the file to .php I have now made a frames page and have put 10+ html files in those frames but it seems <frameset> doesn't work with php. Can anybody comment on this? Here is my code <?php require_once ( 'settings.php' ); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Welcome</title> </head> <frameset framespacing="2" border="1" frameborder="1" cols="74%,13%,13%"> <frameset rows="80%,20%"> <frameset cols="25%,25%"> <frameset rows="20%,13%,26%,20%,20%"> <frame name="03" scrolling="no" noresize src="3.php"> <frame name="09" scrolling="no" noresize src="9.php"> <frame name="01" scrolling="no" noresize src="1.php" > <frame name="08" scrolling="no" noresize src="8.php"> <frame name="10" scrolling="no" noresize src="10.php"> </frameset> <frameset rows="50%,50%"> <frame name="06" scrolling="no" noresize src="6.php"> <frame name="07" scrolling="no" noresize src="7.php"> </frameset> </frameset> <frame name="05" scrolling="no" noresize src="5.php"> </frameset> <frame name="04" scrolling="no" noresize src="4.php"> <frame name="11" scrolling="no" noresize src="11.php"> <noframes> <body> <p>This page uses frames, but your browser doesn't support them.</p> </body> </noframes> </frameset> Thanks Link to comment https://forums.phpfreaks.com/topic/138005-element-works-with-php/ Share on other sites More sharing options...
Mark Baker Posted December 22, 2008 Share Posted December 22, 2008 it seems <frameset> doesn't work with php. Can anybody comment on this? Frameset is nothing whatsoever to do with PHP: Frameset is an HTML construct, parsed and rendered by the client browser; PHP can generate HTML output, but is executed on the server. Assuming that you have files called 1.php, 2.php, 3.php, etc on the webserver, what is going wrong? Link to comment https://forums.phpfreaks.com/topic/138005-element-works-with-php/#findComment-721286 Share on other sites More sharing options...
ILMV Posted December 22, 2008 Share Posted December 22, 2008 Yes I can comment... The frameset tag is a HTML tag, it has nothing to do with PHP Edit: Damn, too late again Link to comment https://forums.phpfreaks.com/topic/138005-element-works-with-php/#findComment-721287 Share on other sites More sharing options...
Mark Baker Posted December 22, 2008 Share Posted December 22, 2008 Edit: Damn, too late again If you hurry, you can get first response on the Devshed forums where he's just posted this same query ;-) Link to comment https://forums.phpfreaks.com/topic/138005-element-works-with-php/#findComment-721290 Share on other sites More sharing options...
ILMV Posted December 22, 2008 Share Posted December 22, 2008 Edit: Damn, too late again If you hurry, you can get first response on the Devshed forums where he's just posted this same query ;-) Chances are I would register and someone would already post, I'm not that needy for a first response... or am I? Link to comment https://forums.phpfreaks.com/topic/138005-element-works-with-php/#findComment-721304 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.