phpretard Posted September 8, 2009 Share Posted September 8, 2009 I hope the code below explains my problem. $textarea="Here is all the information ® in the text area"; $replace = str_replace("®", "<sup>®</sup>", $textarea); // I can't quite figure how to use this $new_text="Here is all the information<sup>®</sup> in the text area"; Any help? Link to comment https://forums.phpfreaks.com/topic/173565-string-replace-help/ Share on other sites More sharing options...
Daniel0 Posted September 8, 2009 Share Posted September 8, 2009 I hope the code below explains my problem. It doesn't. Link to comment https://forums.phpfreaks.com/topic/173565-string-replace-help/#findComment-914876 Share on other sites More sharing options...
phpretard Posted September 8, 2009 Author Share Posted September 8, 2009 Oops...the problem was elsewhere. My bad. Link to comment https://forums.phpfreaks.com/topic/173565-string-replace-help/#findComment-914877 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.