str_replace back into variable
<p>I have a string:</p>

<pre><code>$ht="Sunday_ Oct. 31_ 2012"
</code></pre>

<p>I want to replace underscores with commas</p>

<p>I can do:</p>

<pre><code>echo "--------------------&gt;&gt;&gt;".str_replace("_", ",", $ht);
</code></pre>

<p>and it works fine like that, but I don't want to echo it, I want it back in $ht.</p>

<p>Maybe something like</p>

<pre><code> $ht=str_replace("_",",",$ht)
</code></pre>

<p>which don't work.</p>

<p>Thanks in advance,</p>

<p>alan</p>
