title: using php inside of iframe html tags
body: <p>I am trying to create a website that displays another website in an iframe.</p>
  
  <p>This is my code:</p>
  
  <pre><code>&lt;html&gt; 
  &lt;title&gt;HTML with PHP&lt;/title&gt;
  &lt;style&gt;
  body {
  margin: 0px;
  }
  &lt;/style&gt;
  &lt;body&gt;
  &lt;?php
  $page = $_GET['query'];
  echo $page;
  ?&gt;
  &lt;iframe align="center" width="100%" height="100%" src="&lt;?=$page;?&gt;" frameborder="yes" scrolling="yes" name="myIframe" id="myIframe"&gt; &lt;/iframe&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>When I open the php file off of my website (using a url website.com/file.php?query=<a href="https://www.google.com" rel="nofollow">https://www.google.com</a>, and look in the inspector, I can see the page that the iframe loaded, but it just shows up as a blank page, not the . I have it up at 
  <a href="http://www.test.fire-light.tk/web.php?query=url" rel="nofollow">http://www.test.fire-light.tk/web.php?query=url</a> (replace url with any valid url). I am not sure why it shows the blank page.</p>