str_replace
Posted: Mon Jul 28, 2008 7:17 pm
So I have a small blog I often post snippets of code. Until now, I never realized when copied code from my IDE to my blogs WYSIWYG it would convert my quotes " into fancy quotes “
I tried to do an str_replace: but that does not appear to work, it still renders the fancy quotes. How can I fix this?
Thanks,
John
I tried to do an str_replace:
Code: Select all
$text = str_replace("“", '"', $text);Thanks,
John