farazay Posted January 12, 2011 Share Posted January 12, 2011 I am using tinyMCE editor and uploading image from it.After form is submitted,it makes textarea's values as <img width="\"65\"" height="\"66\"" alt="\\"" src="\"images/logo.gif\""> cuz of wrong html,it is not displaying image.I tried to replace $_POST['elm2'] = str_replace('"\"','\"',$_POST['elm2']); $_POST['elm2'] = str_replace('\""','\"',$_POST['elm2']); but it is not replacing.How can i correct the HTML so that i display image. Link to comment https://forums.phpfreaks.com/topic/224194-want-to-replace-certain-substring/ Share on other sites More sharing options...
litebearer Posted January 12, 2011 Share Posted January 12, 2011 Did you by chance check with tinyMCE's support/forum to see if it is a common problem? Link to comment https://forums.phpfreaks.com/topic/224194-want-to-replace-certain-substring/#findComment-1158468 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.