[email protected] Posted June 19, 2009 Share Posted June 19, 2009 I need help understanding why the html code below, which is in an php file, does not generate the frames within the framesets below, either within the php code below or the html code below it, both being in the same php file. Please note that the code below is a facsimile only but that I verified that the url's were valid and produced the expected behavior when launched independently. Note also that, in the html code I have both a php variable based src reference and an explicit src reference. Neither is launched (i.e. neither is displayed as expected). Note also that the strings "START UPDATE IMAGE TEXT" and "HTML" actually do display when the code is run. ???QUESTION: Why are none of my frames being generated or launched???? FACSIMILE CODE: <?php global $tstring ; print ("START UPDATE IMAGE TEXT" . "<BR>" ) ; echo (" <html> <frameset rows=130,48 > <frame src=http://www.basicresearch.com/ImageCells/RT-01.jpg frameborder=yes bordercolor=orange scrolling=yes> <frame src=http://www.basicresearch.com/TextCells/PT(1,1).html frameborder=yes bordercolor=yellow> </frameset> </html> ") ; $tstring=("http://www.unitresearch01.com/TextCells/PT(1,1).html") ; ?> <html> <b>HTML</b><br> <frameset rows="130,48" > <frame src="http://www.unitresearch01.com/TextCells(1,1).html" frameborder="yes" bordercolor="orange" scrolling=yes> <frame src="<? echo $tstring; ?>" frameborder="yes" bordercolor="yellow"> </frameset> </html> Link to comment https://forums.phpfreaks.com/topic/162940-html-frames-within-php-code-are-not-launching/ Share on other sites More sharing options...
purge08 Posted June 19, 2009 Share Posted June 19, 2009 i believe <html> has to be the first line then your head and title and then any php scripts and then end with ?> and then </html> Link to comment https://forums.phpfreaks.com/topic/162940-html-frames-within-php-code-are-not-launching/#findComment-859777 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.