echo content within a div tag on the same interface
<p>I have a scenario like this: Simply a *.php page with a PHP content on top followed with a HTML content. Now with an application of <code>PHP_SELF</code>, I need to echo the message within HTML without loosing HTML interface once the message is echoed within the 'div1' tag. Is this possible?  </p>

<p>I tried replacing echo with <code>$msg['div1'] = 'Some message'</code> and inside <code>div1</code> tag <code>&lt;?= $msgxx['display_log'] ?&gt;</code> but doesn't seems to be a valid code. Please share your views. Code below just to explain my approach. Thanks.</p>

<pre><code>&lt;?php

echo 'some message';
?&gt;

&lt;html&gt;
 &lt;form .....&gt;
 &lt;div&gt;
   &lt;div id="div1"&gt;&lt;/div&gt;
   &lt;div&gt;&lt;input type="submit" id="submit1"&gt;&lt;/div&gt;
 &lt;/div&gt;
&lt;/html&gt;
</code></pre>
