Replacing Registered Symbol
| From: | Rick Dwyer | Date: | Fri, 18 Jun 2010 20:32:45 +0000 |
| Subject: | Replacing Registered Symbol | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-306251@lists.php.net to get a copy of this message | ||
Hello List.
I'm trying to replace the registered (®) symbol from a variable via PHP.
The variable $mystring is set to a MySQL field that contains the value "This Is The Registered Symbol ®".
Using the following, I try to replace the symbol, but it persists:
$moditem = str_replace("®","","$mystring");
I tried replacing the symbol in the above syntax with the HTML equivalent but no luck.
Any help is appreciated.
Thanks,
--Rick