anyway, i have a website with videos on it and i have a comment system where people can comment the video below.
Now the problem is that, people seem to be swearing in their comments they post, and i would like to be able to censor these bad words so it would like leave the first letter and last letter of the word viewable, but censor out the middle letters with a *
Basically all i need is a piece of code which i can insert into that document with the comments on and when a visitor loads that page the bad words will be censored.
The thing is though the comments are saved in a MySQL database, so i have really no idea on how to go about this! (if that would make a difference to it anyway!)
I would really aprieciate any help with this one please
Thanks in advanced,
dtcapener