PHP code devided by html code doesn't work : <p>I'm not sure if this is an issue with WAMP but I have been having issues with php variables not being saved. Here is an example:</p>

<p><strong>Works:</strong></p>

<pre><code>&lt;?php 
 $x = "Hellow Wolrd!";
 echo $x;
?&gt;
</code></pre>

<blockquote>
  <p>Hellow Wolrd!</p>
</blockquote>

<p><strong>Doesn't Work:</strong></p>

<pre><code>&lt;?php 
 $x = "Hellow Wolrd!";
?&gt;
&lt;html&gt;
&lt;body&gt; 
&lt;?php echo $x;?&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<blockquote>
  <p></p>
</blockquote>
