egturnkey Posted September 30, 2010 Share Posted September 30, 2010 Hello friends if i've this $text = "i love adult sites" then i wanna clean it by elminate words like adult - bad - kill - die so it be $clean = "i love sites" as you can see it eliminated the word adult how it could be which code can i use ? thanks in advance Link to comment https://forums.phpfreaks.com/topic/214829-how-to-clean/ Share on other sites More sharing options...
litebearer Posted September 30, 2010 Share Posted September 30, 2010 Hmmm http://codingforums.com/showthread.php?t=135849 use a space rather than symbols if you simply want the offending word(s) removed Link to comment https://forums.phpfreaks.com/topic/214829-how-to-clean/#findComment-1117577 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.