replacing a custom tag's value with a string in php
<p>I want to read a html file and replace what ever is inside mytag.</p>

<p>so in html file we have something like this :</p>

<pre><code>                    &lt;div&gt;
                        &lt;h3&gt;&lt;mytag&gt;_THIS_DAY&lt;/mytag&gt;&lt;/h3&gt;
                        &lt;div&gt;
                             [LOGIN]
                        &lt;/div&gt;
                    &lt;/div&gt;
</code></pre>

<p>and then in php file , i need to read the file and replace the values inside  tags.</p>

<p>str_replace() ?</p>

<p>how to get the value inside those tags in php and then how to replace them with something like a string ?</p>
