Replacing Registered Symbol

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux