How do I do a replace on double quotes? str_replace(""","'",$string) doesn't work. I've also tried escapint the double-quotes which doesn't work.
str_replace("\"","'",$string);
You need to escape the " symbol. Otherwise the parser thinks you are replacing nothing, and have an extra " symbol hanging around.
Thanks. I thought I tried that before, but it worked this time.