Replace double quotes with " ?
Posted: Tue Mar 30, 2010 4:04 pm
Hello all,
I am trying to replace all double quotes with " on a php string. Here is the code I am attempting:
However, the code doesn't seem to be working. I do not want to use htmlspecialchars(), since I only want to convert double quotes, not < or >.
Any help would be much valued. Thanks so much,
Chi
I am trying to replace all double quotes with " on a php string. Here is the code I am attempting:
Code: Select all
str_replace('"','"',$str);Any help would be much valued. Thanks so much,
Chi