replacing quote in php
<p>I want to replace <code>“</code> and <code>”</code> characters with the caharacter <code>"</code> in php . I have written as follow but it doesn't change. How can I do this ?</p>

<pre><code>$temp=str_replace("”","\"",$temp);
$temp=str_replace("“","\"",$temp);
</code></pre>
