PHP variable in an <iframe> : <p>I have a PHP script where i echo an iframe. I want a variable inside of that. I think this is the right script:</p>

<p>PHP:  </p>

<pre><code>echo "&lt;style&gt;body{margin: 0}&lt;/style&gt;&lt;iframe 
src='WEBURL.php? 
nme=$db_name' style='height: 100vh; width: 100vw; border: none; margin: 
0;'&gt;";
</code></pre>

<p>HTML:</p>

<pre><code>&lt;?php echo $nme;?&gt;
</code></pre>

<p>When i run the PHP script i get an error:</p>

<blockquote>
  <p>Notice: Undefined variable: nme</p>
</blockquote>

<p>Whats wrong?</p>
