Okay, so I'm wondering how I can replace just a couple special characters from the string. We have a client that has product names that include ® and ™ symbols in the title. And when I create a mailto: link w/ the product name in the ?subject=, it shows some strange characters around those two symbols.
So how can I strip out those two specific characters from the string?
I tried this, but it doesn't work.
str_replace('®|™', '', $prd['prd_titl'])
Any ideas?