Right now i'm working on message boards and I'm wondering how I can censor out banned words that I put in the database.
Say the banned word is "Example", I want to make that so it completly censors it so on the topic list it looks like "*******".
Anyone know how to do this?
I kinda think you can just enter something in the eregi_replace spot...
if ($messban) {
$sql="SELECT * FROM words WHERE wordid=$messban";
$result19=mysql_query($sql);
$myrow19=@mysql_fetch_array($result19);
$topictitle=eregi_replace(" "," ",$topictitle);