Laa young grasshopper, أحب is I love, بهب is simply a visual representation of PHP, transliterated humorously as BHB as the lack of the letter P in the Arabic language.
Anyway, Go in PHPMYADMIN and run this sql code (make sure to make a database thru cPanel, they have vid tutorials if you don't know how):
CREATE TABLE badword (ID MEDIUMINT NOT NULL AUTO_INCREMENT PRIMARY KEY, swears VARCHAR(60), replace VARCHAR(60))
Now you have your database, to populate it you do something like this in phpmyadmin:
INSERT INTO badword (`swears`, `replace`) VALUES ('arse', '****');
INSERT INTO badword (`swears`, `replace`) VALUES ('shiz', '****');
INSERT INTO badword (`swears`, `replace`) VALUES ('bith', '****');
Now you have your database setup.
Now just take a function like I posted in the other post
//REMEMBER to connect to mysql here
$q = mysql_query("SELECT `swears`, `replace` FROM `badword`");
while ($row = mysql_fetch_array($q))
$txt = str_ireplace($row['swears'], $row['replace'], $txt);
Now when you're outputting a users string, wrap the function around it like
That'll check it for swears.
Most other questions like if you're new to phpmyadmin, or php mysql coding can be googled but this is the core of it.