Error when using str_replace() convert from ' to "
<pre><code>&lt;?php
$str='&lt;p style="text-align: center;"&gt;
&lt;img style="width: 448px; height: 321px;" src="http://admin.vn/images/images/car_1.jpg" alt=""&gt;
&lt;/p&gt;';
$search='"';
$replace=''';
$string= str_replace($search,$replace,$str);
echo $string;
?&gt;
</code></pre>

<p>When I echo $string is result no convert from " to ' , how to fix it</p>
