title: How to refresh PHP code in <DIV> in HTML
body: <p>I have a problem , I want to wirte HTML code that only refreshes the  test , so just the code between de <code>&lt;div&gt;...&lt;/div&gt;</code></p>
  
  <p>I was thinking to use some Javascript but I'm not sure this works in PHP , because my in HTML div there's PHP code.</p>
  
  <p>My HTML code:</p>
  
  <pre><code>&lt;HTML&gt;
  &lt;HEAD&gt;
  
  
  &lt;/HEAD&gt;
  &lt;BODY&gt;
  
      &lt;div id = "other div"&gt;
          &lt;p&gt; text &lt;/p&gt; 
      &lt;/div&gt;
  
      &lt;div id="test"&gt;
  
          &lt;?php refresh this code ?&gt;
  
      &lt;/div&gt;
  
  &lt;/BODY&gt;
  &lt;/HTML&gt;
  </code></pre>