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? Quote 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. Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/173565-string-replace-help/#findComment-914877 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.