I am using this but it is not working:
$replaced = str_replace(''', '"', $text);
Any help would be appreciated.
Try this:
$replaced = str_replace('\'', '"', $text);
OR
$replaced = str_replace("'", '"', $text);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With