Jump to content

html frames within php code are not launching


Recommended Posts

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>

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.