Mine
public php v1 · immutablefunction find_words() { $a = mysql_query("SELECT word from dictionary")or die(mysql_error()); while($a1=mysql_fetch_row($a)) $words[]=$a[0]; return preg_replace('/'.implode('|',$words).'/i','<b>$1</b>',the_content());}