Currently it is done this way
$params["proxies_cfg"]["censor"]["words"] = array('badword1',badword2');
And this is what I have so far.
$result = $db->sql_query("SELECT word FROM badwords");
$content = array();
while (list($word) = $db->sql_fetchrow($result)) {
$content = "'".$word."',";
}
$badword = array($content);
$params["proxies_cfg"]["censor"]["words"] = $badword;
How would this be done? Or should I do it differently?
I would also like to do this with the smilies as well too..
