Menu
hi ,
i want a function ,
Please help me,,,,,,,, ?
when user post reply
[code=php]
$reply=”Hello this is testing message”; //user reply text
$res=mysql_query(“select * from wordfilter”);
while ($row=mysql_fetch_array($res)){
$word=$row[‘words’]; // delete, insert, drop , etc……….
}
if $reply any word match to $word then he replace it
first word and last word same and middle word replace to *****
forexemple he found sexy and hi also in my databe (in $word) then he replace it s**y
if hi found one word then replace one
if found two word then two …..there ……. four ……………………………………………………………………..