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 Quote Link to comment 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 Quote Link to comment 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.