I'm developing a website using codeigniter that allows users to post free ads and search for ads, I'm looking for a fast way to check the user input against a list of offensive words stored in database table, so that if a user enters a bad word, one from those listed in that table then it should be removed (not entered). my table is using the MySql fulltext search feature.
I tried using the like in sql but I was told that it gets slow when the records reach thousands.
is there any suitable solution in codeigniter ?